aboutsummaryrefslogtreecommitdiff
path: root/src/tests/ktests/run_qemu_test.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-02-19 19:23:34 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2015-02-19 19:23:34 +0100
commit7b27ab493b56f9e77d805c4f44a1717f3a79231e (patch)
treea3037447f4e3d428a61a5c3cfb4e2a98ea5981e4 /src/tests/ktests/run_qemu_test.sh
parent62e5a35940198f0f8fbabdf31c80455647420c4e (diff)
downloadkogata-7b27ab493b56f9e77d805c4f44a1717f3a79231e.tar.gz
kogata-7b27ab493b56f9e77d805c4f44a1717f3a79231e.zip
Userland test infrastructure
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`