Compress the coredumps and put them in the results directory.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
echo "${verbs}" | while read fuzzverb; do
__scratch_xfs_fuzz_mdrestore
__scratch_xfs_fuzz_field_test "${field}" "${fuzzverb}" "${repair}" "$@"
+
+ # Collect compresssed coredumps in the test results
+ # directory if the sysadmin didn't override the default
+ # coredump strategy.
+ for i in core core.*; do
+ test -f "$i" || continue
+ _save_coredump "$i"
+ done
done
done
}