[oe-commits] Ross Burton : oeqa/qemurunner: don't assume hostname starts with qemu

git at git.openembedded.org git at git.openembedded.org
Thu Jul 23 22:18:38 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 318bf400e259839b50f964474f5e5b427b7bed45
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=318bf400e259839b50f964474f5e5b427b7bed45

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