aboutsummaryrefslogtreecommitdiff
path: root/tests/multiboot/run_test.sh
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2018-03-14 13:33:49 +0100
committerKevin Wolf <kwolf@redhat.com>2018-03-21 15:13:25 +0100
commit1c8c426fb44bf5b3ffbcad1b00c7def4b89b03ec (patch)
tree5fe77a6301b1347d00dc4baf57d6d1fa7ef03851 /tests/multiboot/run_test.sh
parent49713c413a65ab4b02124aabe83f8539cc6ece5e (diff)
tests/multiboot: Add tests for the a.out kludge
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Jack Schwartz <jack.schwartz@oracle.com>
Diffstat (limited to 'tests/multiboot/run_test.sh')
-rwxr-xr-xtests/multiboot/run_test.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/multiboot/run_test.sh b/tests/multiboot/run_test.sh
index bc9c3670af..6c33003e71 100755
--- a/tests/multiboot/run_test.sh
+++ b/tests/multiboot/run_test.sh
@@ -34,7 +34,7 @@ run_qemu() {
-device isa-debugcon,chardev=stdio \
-chardev file,path=test.out,id=stdio \
-device isa-debug-exit,iobase=0xf4,iosize=0x4 \
- "$@"
+ "$@" >> test.log 2>&1
ret=$?
cat test.out >> test.log
@@ -67,9 +67,15 @@ modules() {
run_qemu modules.elf -initrd "module.txt,module.txt argument,module.txt"
}
+aout_kludge() {
+ for i in $(seq 1 9); do
+ run_qemu aout_kludge_$i.bin
+ done
+}
+
make all
-for t in mmap modules; do
+for t in mmap modules aout_kludge; do
echo > test.log
pass=1