aboutsummaryrefslogtreecommitdiff
path: root/src/tests/ktests/run_qemu_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/ktests/run_qemu_test.sh')
-rwxr-xr-xsrc/tests/ktests/run_qemu_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/ktests/run_qemu_test.sh b/src/tests/ktests/run_qemu_test.sh
index 93c7320..e18a9d3 100755
--- a/src/tests/ktests/run_qemu_test.sh
+++ b/src/tests/ktests/run_qemu_test.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-(qemu-system-i386 -kernel test_kernel.bin -serial stdio -m 16 -display none & echo $! >&3) 3>pid \
+(qemu-system-i386 -kernel test_kernel.bin -serial stdio -m 16 -display none & echo $! >pid) \
| tee >(grep -m 1 "TEST-" >result; kill -INT `cat pid`) \
RESULT=`cat result`