mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
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>
This commit is contained in:
parent
49713c413a
commit
1c8c426fb4
4 changed files with 204 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue