mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
committed by
Eryu Guan
parent
272940ff28
commit
10f6b23121
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user