mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
committed by
Eryu Guan
parent
49c09b5bad
commit
656e1b1082
@@ -307,6 +307,9 @@ _scratch_xfs_fuzz_metadata() {
|
|||||||
echo "Verbs we propose to fuzz with:"
|
echo "Verbs we propose to fuzz with:"
|
||||||
echo $(echo "${verbs}")
|
echo $(echo "${verbs}")
|
||||||
|
|
||||||
|
# Always capture full core dumps from crashing tools
|
||||||
|
ulimit -c unlimited
|
||||||
|
|
||||||
echo "${fields}" | while read field; do
|
echo "${fields}" | while read field; do
|
||||||
echo "${verbs}" | while read fuzzverb; do
|
echo "${verbs}" | while read fuzzverb; do
|
||||||
__scratch_xfs_fuzz_mdrestore
|
__scratch_xfs_fuzz_mdrestore
|
||||||
|
|||||||
Reference in New Issue
Block a user