kexec-tools/tests/scripts
Kairui Song c44cdb6703 selftest: Show the path of dumped vmcore on test end
Make the test script print following line when the test is finished and vmcore is successfully dumped:

  You can retrive the verify the vmcore file using following command:
  ./scripts/copy-from-image.sh \
      /home/kasong/fedpkg/kexec-tools/tests/output/ssh-kdump/0-server.img \
      /var/crash/192.168.77.62-2020-09-02-05:16:26/vmcore.flat ./
  Kernel package verion is: kernel-core-5.6.6-300.fc32.x86_64

Also add a helper to copy files out of the VM image.

Signed-off-by: Kairui Song <kasong@redhat.com>
Acked-by: Dave Young <dyoung@redhat.com>
2020-09-17 10:43:02 +08:00
..
build-scripts selftest: Add basic test framework 2020-09-17 10:42:54 +08:00
kexec-kdump-test selftest: Show the path of dumped vmcore on test end 2020-09-17 10:43:02 +08:00
testcases selftest: Add basic test framework 2020-09-17 10:42:54 +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 selftest: Show the path of dumped vmcore on test end 2020-09-17 10:43:02 +08:00
run-test.sh selftest: Show the path of dumped vmcore on test end 2020-09-17 10:43:02 +08:00
spawn-image-shell.sh selftest: Add basic test framework 2020-09-17 10:42:54 +08:00
test-lib.sh selftest: Add basic test framework 2020-09-17 10:42:54 +08:00