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 <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Darrick J. Wong
2017-09-26 18:04:19 -07:00
committed by Eryu Guan
parent 4f768f3bb4
commit c114000c97
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ check_xfs_scrub() {
fi fi
# Does the ioctl work? # 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 grep -q "Inappropriate ioctl"; then
return 1 return 1
fi fi
+1 -1
View File
@@ -144,7 +144,7 @@ check_xfs_scrub() {
fi fi
# Does the ioctl work? # 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 grep -q "Inappropriate ioctl"; then
return 1 return 1
fi fi