summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2010-04-07 10:14:55 +0530
committerAmit Shah <amit.shah@redhat.com>2010-04-07 10:14:55 +0530
commit9407f48fbb923391a6172d6fffd409b40411ec13 (patch)
tree4963454f1f135354db2174b5f94c128403a2e997
parentc2ce8ad58da33c731c18f1a198e49b99e7aa5870 (diff)
downloadtest-virtserial-9407f48fbb923391a6172d6fffd409b40411ec13.tar.gz
test-virtserial-9407f48fbb923391a6172d6fffd409b40411ec13.tar.xz
test-virtserial-9407f48fbb923391a6172d6fffd409b40411ec13.zip
run_test: pkill -9 qemu processes after test is done
Some qemu processes get stuck due to test failures / etc., they don't just go away with a simple pkill. pkill -9 them. Signed-off-by: Amit Shah <amit.shah@redhat.com>
-rwxr-xr-xrun-test.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/run-test.sh b/run-test.sh
index 71c6ea7..4ef176e 100755
--- a/run-test.sh
+++ b/run-test.sh
@@ -45,7 +45,7 @@ sleep 5
> /tmp/amit/guest-big-file
> /tmp/amit/guest-csumfile
time ./auto-virtserial
-pkill qemu
+pkill -9 qemu
#exit;
# -- Iteration 2: old kernel, new qemu --
@@ -62,7 +62,7 @@ sleep 5
> /tmp/amit/guest-big-file
> /tmp/amit/guest-csumfile
time ./auto-virtserial
-pkill qemu
+pkill -9 qemu
# -- Iteration 3: new kernel, old qemu --
sleep 5
@@ -81,4 +81,4 @@ sleep 5
> /tmp/amit/guest-big-file
> /tmp/amit/guest-csumfile
time ./auto-virtserial
-pkill qemu
+pkill -9 qemu