Message ID | 161292581331.3504537.1750366426922427428.stgit@magnolia (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | fstests: various improvements to the test framework | expand |
On Tue, Feb 09, 2021 at 06:56:53PM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@kernel.org> > > 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> > common/fuzzy | 3 +++ > 1 file changed, 3 insertions(+) > > > 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 >
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