The name of the xfs_io scrub subcommand to test for the existence of
the ioctl has been changed to 'test' from 'dummy', so fix xfstests.
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>
_notrun "xfs_io $command support is missing"
;;
"scrub"|"repair")
- testio=`$XFS_IO_PROG -x -c "$command dummy 0" $TEST_DIR 2>&1`
+ testio=`$XFS_IO_PROG -x -c "$command test 0" $TEST_DIR 2>&1`
echo $testio | grep -q "Inappropriate ioctl" && \
_notrun "xfs_io $command support is missing"
;;