Thread (19 messages) 19 messages, 3 authors, 2021-07-18

Re: [PATCH 8/8] generic/019: don't dump cores when fio/fsstress hit io errors

From: Allison Henderson <hidden>
Date: 2021-07-09 23:39:25
Also in: fstests


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 <redacted>
quoted hunk ↗ jump to hunk
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help