oeqa/utils/qemurunner: fix wrong var in message

Submitted by Stanacar, StefanX on Aug. 4, 2013, 9:12 a.m.

Details

Message ID 1375607552-13458-1-git-send-email-stefanx.stanacar@intel.com
State Accepted
Commit 601738fee3e9b7909b63714ca725576c10eec1e3
Headers show

Commit Message

Stanacar, StefanX Aug. 4, 2013, 9:12 a.m.
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
---
 meta/lib/oeqa/utils/qemurunner.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 45b3ccb..d086203 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -74,7 +74,7 @@  class QemuRunner:
                 console.write("root\n")
                 (index, match, text) = console.expect([r"(root@[\w-]+:~#)"],10)
                 if not match:
-                    bb.note("Couldn't get prompt, all I got was:\n%s" % match.group(0))
+                    bb.note("Couldn't get prompt, all I got was:\n%s" % text)
                     return False
                 console.write("ip addr show `ip route list | sed -n '1p' | awk '{print $5}'` | sed -n '3p' | awk '{ print $2 }' | cut -f 1 -d \"/\"\n")
                 (index, match, text) = console.expect([r"((?:[0-9]{1,3}\.){3}[0-9]{1,3})"],10)