From: Theodore Ts'o Date: Fri, 3 Feb 2017 20:50:37 +0000 (-0500) Subject: generic/388: use the src/godown program instead of xfs_io X-Git-Tag: v2022.05.01~2189 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=3d99741cebfa2880000eb27d094851aade907418;p=users%2Fhch%2Fxfstests-dev.git generic/388: use the src/godown program instead of xfs_io The "xfs_io -xc shutdown $MNT" command doesn't work on non-xfs file systems. So use the equivalent src/godown program instead, which is how the other tests which use the shutdown command were converted from xfs-specific tests to generic tests. Signed-off-by: Theodore Ts'o Reviewed-by: Darrick J. Wong Signed-off-by: Eryu Guan --- diff --git a/tests/generic/388 b/tests/generic/388 index c00a7548c..9d4ba9d6c 100755 --- a/tests/generic/388 +++ b/tests/generic/388 @@ -71,7 +71,7 @@ for i in $(seq 1 50); do # purposely include 0 second sleeps to test shutdown immediately after # recovery sleep $((RANDOM % 3)) - $XFS_IO_PROG -xc shutdown $SCRATCH_MNT + ./src/godown $SCRATCH_MNT ps -e | grep fsstress > /dev/null 2>&1 while [ $? -eq 0 ]; do