diff options
author | Alex Auvolat <alex@adnab.me> | 2015-03-11 20:47:04 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2015-03-11 20:47:04 +0100 |
commit | 55e9614a6358fb3270405332e94c2eeda057350b (patch) | |
tree | 107d30ee39bef6933c51959b3333d80a0388c575 /src/tests/utests/run_qemu_test.sh | |
parent | 50b5427a8edbb8d59215334f5a250e7f8d6d7ca7 (diff) | |
download | kogata-55e9614a6358fb3270405332e94c2eeda057350b.tar.gz kogata-55e9614a6358fb3270405332e94c2eeda057350b.zip |
Include kernel.map in tests.
Diffstat (limited to 'src/tests/utests/run_qemu_test.sh')
-rwxr-xr-x | src/tests/utests/run_qemu_test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/utests/run_qemu_test.sh b/src/tests/utests/run_qemu_test.sh index 2de4bbb..c168e8c 100755 --- a/src/tests/utests/run_qemu_test.sh +++ b/src/tests/utests/run_qemu_test.sh @@ -9,7 +9,7 @@ if [ "$1" = "watchdog" ]; then exit 0 fi -(qemu-system-i386 -kernel ../../../kernel/kernel.bin -append 'init=io:/mod/init.bin' -initrd init.bin -serial stdio -m 16 -display none & echo $! >pid & +(qemu-system-i386 -kernel ../../../kernel/kernel.bin -append 'init=io:/mod/init.bin' -initrd 'init.bin,../../../kernel/kernel.map' -serial stdio -m 16 -display none & echo $! >pid & $0 watchdog) \ | tee >(grep -m 1 "TEST-" >result; kill -INT `cat pid`; kill -TERM `cat pid2`) \ |