[oe-commits] Ross Burton : oeqa/qemurunner: don't assume hostname starts with qemu
git at git.openembedded.org
git at git.openembedded.org
Fri Jul 24 22:30:14 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: faf85728ed9a5a3af336f243f6f3567c773159cf
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=faf85728ed9a5a3af336f243f6f3567c773159cf
Author: Ross Burton <ross.burton at intel.com>
Date: Thu Jul 23 22:59:50 2015 +0100
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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oeqa/utils/qemurunner.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index a15990e..59c9934 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")
More information about the Openembedded-commits
mailing list