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 <djwong@kernel.org>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Darrick J. Wong
2021-07-06 17:21:50 -07:00
committed by Eryu Guan
parent 272940ff28
commit 10f6b23121
+3
View File
@@ -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 <<EOF
###########
# $seq test's fio activity