summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/qemuimage-testlib2
-rwxr-xr-xscripts/qemuimage-testlib-pythonhelper2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/qemuimage-testlib b/scripts/qemuimage-testlib
index 551011cbaf..6377c7f27a 100755
--- a/scripts/qemuimage-testlib
+++ b/scripts/qemuimage-testlib
@@ -420,7 +420,7 @@ Test_Create_Qemu()
while [ ${up_time} -lt 10 ]
do
- QEMUPID=`qemuimage-testlib-pythonhelper --findqemu $XTERMPID`
+ QEMUPID=`qemuimage-testlib-pythonhelper --findqemu $XTERMPID 2>/dev/null`
if [ $? -ne 0 ]; then
Test_Info "Wait for qemu up..."
up_time=`expr $up_time + 5`
diff --git a/scripts/qemuimage-testlib-pythonhelper b/scripts/qemuimage-testlib-pythonhelper
index 2ca61ca06a..2c1f557778 100755
--- a/scripts/qemuimage-testlib-pythonhelper
+++ b/scripts/qemuimage-testlib-pythonhelper
@@ -34,7 +34,7 @@ if options.findqemu:
commands[data[0]] = data[2]
if options.findqemu not in pids:
- print "No children found matching %s" % options.findqemu
+ sys.stderr.write("No children found matching %s" % options.findqemu)
sys.exit(1)
parents = []