Message ID | 162561731092.543423.12382027169225482171.stgit@locust (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | fstests: random fixes | expand |
On 7/6/21 5:21 PM, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@kernel.org> > > Disable coredumps so that fstests won't mark the test failed when the > EIO injector causes an mmap write to abort with SIGBUS. > Looks ok Reviewed-by: Allison Henderson <allison.henderson@oracle.com> > Signed-off-by: Darrick J. Wong <djwong@kernel.org> > --- > 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 <<EOF > ########### > # $seq test's fio activity >
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 <<EOF ########### # $seq test's fio activity