From 71636cfbaf358931012d94fbaeed53ddfa6cea7d Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Tue, 2 Mar 2021 15:22:39 -0800 Subject: [PATCH] generic/623: don't fail on core dumps This test is designed to fail an mmap write and see what happens. Typically this is a segmentation fault. If the user's computer is configured to capture core dumps, this will cause the test to fail, even though we got the reaction we wanted. Signed-off-by: Darrick J. Wong Reviewed-by: Chandan Babu R Reviewed-by: Christoph Hellwig Signed-off-by: Eryu Guan --- tests/generic/623 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/generic/623 b/tests/generic/623 index 7be38955..04411405 100755 --- a/tests/generic/623 +++ b/tests/generic/623 @@ -37,6 +37,7 @@ _scratch_mount # status on the page. file=$SCRATCH_MNT/file $XFS_IO_PROG -fc "pwrite 0 4k" -c fsync $file | _filter_xfs_io +ulimit -c 0 $XFS_IO_PROG -x -c "mmap 0 4k" -c "mwrite 0 4k" -c shutdown -c fsync \ -c "mwrite 0 4k" $file | _filter_xfs_io -- 2.30.2