]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
generic/45[34]: fix the xfs_scrub probe test
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 27 Sep 2017 01:04:19 +0000 (18:04 -0700)
committerEryu Guan <eguan@redhat.com>
Wed, 27 Sep 2017 04:07:47 +0000 (12:07 +0800)
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>
tests/generic/453
tests/generic/454

index d8fb1bd41730c495f44d19c160f6ceed3a2c8032..ff2973614a365730f432e00a94bd0e354187d941 100755 (executable)
@@ -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
index 385e6de93623a6da28fb4c73f4b2c9c45d542f14..01279ee87d7c125ec7a4565f76856eb535cbb293 100755 (executable)
@@ -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