summaryrefslogtreecommitdiffstats
path: root/scripts/qemuimage-testlib
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/qemuimage-testlib')
-rwxr-xr-xscripts/qemuimage-testlib5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/qemuimage-testlib b/scripts/qemuimage-testlib
index c2dbf6027f..9ffaa7c785 100755
--- a/scripts/qemuimage-testlib
+++ b/scripts/qemuimage-testlib
@@ -457,6 +457,7 @@ Test_Create_Qemu()
457 timeout=50 457 timeout=50
458 else 458 else
459 rm -rf $TEST_ROOTFS_IMAGE 459 rm -rf $TEST_ROOTFS_IMAGE
460 echo "Copying rootfs $ROOTFS_IMAGE to $TEST_ROOTFS_IMAGE"
460 $CP $ROOTFS_IMAGE $TEST_ROOTFS_IMAGE 461 $CP $ROOTFS_IMAGE $TEST_ROOTFS_IMAGE
461 if [ $? -ne 0 ]; then 462 if [ $? -ne 0 ]; then
462 Test_Info "Image ${ROOTFS_IMAGE} copy to ${TEST_ROOTFS_IMAGE} failed, return fail" 463 Test_Info "Image ${ROOTFS_IMAGE} copy to ${TEST_ROOTFS_IMAGE} failed, return fail"
@@ -466,8 +467,8 @@ Test_Create_Qemu()
466 export MACHINE=$QEMUARCH 467 export MACHINE=$QEMUARCH
467 468
468 # Create Qemu in localhost VNC Port 1 469 # Create Qemu in localhost VNC Port 1
469 echo "Running xterm -display ${DISPLAY} -e 'BUILDDIR=${TOPDIR} ${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE}' &" 470 echo "Running xterm -display ${DISPLAY} -e 'TMPDIR=${TMPDIR} ${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE} && /bin/sleep 60' &"
470 xterm -display ${DISPLAY} -e "BUILDDIR=${TOPDIR} ${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE}" & 471 xterm -display ${DISPLAY} -e "TMPDIR=${TMPDIR} ${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE} && /bin/sleep 60" &
471 472
472 # Get the pid of the xterm processor, which will be used in Test_Kill_Qemu 473 # Get the pid of the xterm processor, which will be used in Test_Kill_Qemu
473 PID=$! 474 PID=$!