generic/45[34]: fix the xfs_scrub probe test
PATCH 1/1 generic/45[34]: fix the xfs_scrub probe test
We changed the name of the xfs_scrub verb from 'test' to 'probe', so fix xfstests to follow.
Signed-off-by Darrick J. Wong <[email protected]>
--- tests/generic/453 | 2 +- tests/generic/454 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
tests/generic/453 +1 -1
@@ -148,7 +148,7 @@ check_xfs_scrub() { fi # Does the ioctl work? - if $XFS_IO_PROG -x -c "scrub test 0" $SCRATCH_MNT 2>&1 | \ + if $XFS_IO_PROG -x -c "scrub probe 0" $SCRATCH_MNT 2>&1 | \ grep -q "Inappropriate ioctl"; then return 1 fi
tests/generic/454 +1 -1
@@ -144,7 +144,7 @@ check_xfs_scrub() { fi # Does the ioctl work? - if $XFS_IO_PROG -x -c "scrub test 0" $SCRATCH_MNT 2>&1 | \ + if $XFS_IO_PROG -x -c "scrub probe 0" $SCRATCH_MNT 2>&1 | \ grep -q "Inappropriate ioctl"; then return 1 fi