summaryrefslogtreecommitdiffstats
path: root/run-test.sh
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2010-01-27 14:45:27 +0530
committerAmit Shah <amit.shah@redhat.com>2010-01-27 14:45:53 +0530
commitd25bc9ba62fd9767ac784f6f38d6dc72b2fcab14 (patch)
tree04f124dde6da6a76e510cd9994c3269570fb12a1 /run-test.sh
parent94412edab1fa17262b4f50c3c0936d4d2307c0b8 (diff)
downloadtest-virtserial-d25bc9ba62fd9767ac784f6f38d6dc72b2fcab14.tar.gz
test-virtserial-d25bc9ba62fd9767ac784f6f38d6dc72b2fcab14.tar.xz
test-virtserial-d25bc9ba62fd9767ac784f6f38d6dc72b2fcab14.zip
run-test: allow older qemu binaries to be specified at invocation time
To test new kernel compatibility with older qemu, allow older qemu binaries to be specified at invocation time. Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'run-test.sh')
-rwxr-xr-xrun-test.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/run-test.sh b/run-test.sh
index bc78328..24b4fef 100755
--- a/run-test.sh
+++ b/run-test.sh
@@ -1,9 +1,11 @@
#!/bin/bash
QEMU_DEF=/home/amit/src/qemu-kvm/x86_64-softmmu/qemu-system-x86_64
+QEMU_OLD_DEF=/home/amit/src/qemu/x86_64-softmmu/qemu-system-x86_64
KERNEL_DEF=/home/amit/tmp/linux-2.6/arch/x86/boot/bzImage
QEMU=${QEMU:-$QEMU_DEF}
+QEMU_OLD=${QEMU_OLD:-$QEMU_OLD_DEF}
KERNEL=${KERNEL:-$KERNEL_DEF}
GUEST=/guests/f11-auto.qcow2
@@ -60,16 +62,14 @@ pkill qemu
# -- Iteration 3: new kernel, old qemu --
sleep 5
-QEMU=/home/amit/src/qemu/x86_64-softmmu/qemu-system-x86_64
-
CHARDEVS=
VIRTSER="-virtioconsole unix:/tmp/amit/test0,server,nowait"
QEMU_OPTS="$GUEST $KERNEL $KERNELARG $CHARDEVS $VIRTSER $VNC $MISCOPT $SNAPSHOT"
-echo $QEMU $QEMU_OPTS
+echo $QEMU_OLD $QEMU_OPTS
-$QEMU $QEMU_OPTS &
+$QEMU_OLD $QEMU_OPTS &
sleep 5