diff options
author | Kevin Wolf <kwolf@redhat.com> | 2015-01-15 12:26:44 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-01-26 12:22:44 +0100 |
commit | a9c837d8ef573604328e4cb61e2e0cab61bba319 (patch) | |
tree | 66a689677af80520b3918608162a897466c68bbe /tests/multiboot/run_test.sh | |
parent | b4168498f613db3d908909106146001a9279e732 (diff) |
tests/multiboot: Add test for modules
This test case is meant to detect corruptions of the Multiboot modules
as well as the multiboot modules list and the module command lines.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/multiboot/run_test.sh')
-rwxr-xr-x | tests/multiboot/run_test.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/multiboot/run_test.sh b/tests/multiboot/run_test.sh index 97a9a49f8b..78d7edfc3b 100755 --- a/tests/multiboot/run_test.sh +++ b/tests/multiboot/run_test.sh @@ -48,10 +48,17 @@ mmap() { run_qemu mmap.elf -m 8G } +modules() { + run_qemu modules.elf + run_qemu modules.elf -initrd module.txt + run_qemu modules.elf -initrd "module.txt argument" + run_qemu modules.elf -initrd "module.txt argument,,with,,commas" + run_qemu modules.elf -initrd "module.txt,module.txt argument,module.txt" +} make all -for t in mmap; do +for t in mmap modules; do echo > test.log $t |