kexec-tools/tests/scripts
Coiby Xu 17c26558d9 tests: use the default crashkernel value
And with commit t5b31b099 ("Simplify the management of the kernel
parameter crashkernel"), the default crashkernel value will be
used for the kernel. But the test VM has a RAM of 768M thus this is no
actual reserved memory for kdump.  Even With the old crashkernel=224M,
network dumping tests like nfs-kdump will fail out of memory when
running against current Fedora Cloud images (>=F37).

This patch address the above two issues by
 1. increasing the RAM of test VM to 1G
 2. installing the kernel-modules which contains the squashfs module in
    order to use the dracut squash module for kdump initrd.

Thanks to the dracut squash module, now even crashkernel=192M (the
default crashkernel value for RAM between 1G and 4G) works for
network dumping. Another benefit brought by this change is the default
crashkernel value can be tested as well.

Signed-off-by: Coiby Xu <coxu@redhat.com>
Reviewed-by: Philipp Rudo <prudo@redhat.com>
2023-06-20 10:24:25 +08:00
..
build-scripts tests: use the default crashkernel value 2023-06-20 10:24:25 +08:00
kexec-kdump-test selftest: ignore all spaces when compare the dmesg files 2021-06-08 22:21:47 +08:00
testcases tests: use .nmconnection to set up test network 2022-11-09 14:07:29 +08:00
build-image.sh selftest: Add basic infrastructure to build test image 2020-09-17 10:42:34 +08:00
copy-from-image.sh selftest: Show the path of dumped vmcore on test end 2020-09-17 10:43:02 +08:00
image-init-lib.sh tests: skip checking if the second partition has the boot label 2023-06-20 10:24:25 +08:00
run-qemu selftest: replace qemu-kvm with one based on dracut's run-qemu 2021-03-24 15:51:02 +08:00
run-test.sh selftest: Only iterate the .sh files for test execution 2022-11-01 12:20:34 +08:00
spawn-image-shell.sh selftest: Add basic test framework 2020-09-17 10:42:54 +08:00
test-lib.sh tests: use the default crashkernel value 2023-06-20 10:24:25 +08:00