Message ID | 167243878174.730387.1210805783525611354.stgit@magnolia (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | fstests: improve xfs fuzzing | expand |
diff --git a/common/fuzzy b/common/fuzzy index 939f5e5ef2..7eaf883c0f 100644 --- a/common/fuzzy +++ b/common/fuzzy @@ -554,6 +554,14 @@ _scratch_xfs_fuzz_metadata() { 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 }