From: Darrick J. Wong Date: Wed, 10 Feb 2021 02:56:53 +0000 (-0800) Subject: fuzzy: capture core dumps from repair utilities X-Git-Tag: v2022.05.01~549 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=656e1b10820d9f05cfecf90f79d91c78cb77b0ae;p=xfstests-dev.git 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 Reviewed-by: Brian Foster Signed-off-by: Eryu Guan --- diff --git a/common/fuzzy b/common/fuzzy index bd08af1c..809dee54 100644 --- a/common/fuzzy +++ b/common/fuzzy @@ -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