summaryrefslogtreecommitdiff
path: root/meta/lib/oeqa/utils
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-07-23 22:59:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-24 23:29:41 +0100
commitfaf85728ed9a5a3af336f243f6f3567c773159cf (patch)
tree239da74c1de2bcd2f0c101c1a053445304b264fe /meta/lib/oeqa/utils
parent17efc6b3284f165a9df14090dec57d877e0c36fa (diff)
downloadopenembedded-core-faf85728ed9a5a3af336f243f6f3567c773159cf.tar.gz
openembedded-core-faf85728ed9a5a3af336f243f6f3567c773159cf.tar.bz2
openembedded-core-faf85728ed9a5a3af336f243f6f3567c773159cf.zip
oeqa/qemurunner: don't assume hostname starts with qemu
It's possible to customise the hostname trivially so don't assume that the hostname hasn't been configured. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/utils')
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index a15990eaa8..59c9934377 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -137,7 +137,7 @@ class QemuRunner:
if data:
self.log(data)
self.bootlog += data
- if re.search("qemu.* login:", self.bootlog):
+ if re.search(".* login:", self.bootlog):
stopread = True
reachedlogin = True
logging.info("Reached login banner")