From: Darrick J. Wong Date: Wed, 7 Jul 2021 00:21:50 +0000 (-0700) Subject: generic/019: don't dump cores when fio/fsstress hit io errors X-Git-Tag: v2022.05.01~333 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=10f6b23121ea5ac9927e44eb15b128716139e2b8 generic/019: don't dump cores when fio/fsstress hit io errors Disable coredumps so that fstests won't mark the test failed when the EIO injector causes an mmap write to abort with SIGBUS. Signed-off-by: Darrick J. Wong Reviewed-by: Allison Henderson Signed-off-by: Eryu Guan --- diff --git a/tests/generic/019 b/tests/generic/019 index bd234815..b8d025d6 100755 --- a/tests/generic/019 +++ b/tests/generic/019 @@ -62,6 +62,9 @@ NUM_JOBS=$((4*LOAD_FACTOR)) BLK_DEV_SIZE=`blockdev --getsz $SCRATCH_DEV` FILE_SIZE=$((BLK_DEV_SIZE * 512)) +# Don't fail the test just because fio or fsstress dump cores +ulimit -c 0 + cat >$fio_config <