From 10f6b23121ea5ac9927e44eb15b128716139e2b8 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Tue, 6 Jul 2021 17:21:50 -0700 Subject: [PATCH] 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 --- tests/generic/019 | 3 +++ 1 file changed, 3 insertions(+) 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 <