fuzzy: capture core dumps from repair utilities

Always capture the core dumps when we run repair tools against a fuzzed
filesystem.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Darrick J. Wong
2021-02-09 18:56:53 -08:00
committed by Eryu Guan
parent 49c09b5bad
commit 656e1b1082
+3
View File
@@ -307,6 +307,9 @@ _scratch_xfs_fuzz_metadata() {
echo "Verbs we propose to fuzz with:"
echo $(echo "${verbs}")
# Always capture full core dumps from crashing tools
ulimit -c unlimited
echo "${fields}" | while read field; do
echo "${verbs}" | while read fuzzverb; do
__scratch_xfs_fuzz_mdrestore