mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
committed by
Eryu Guan
parent
4f768f3bb4
commit
c114000c97
+1
-1
@@ -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
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user