From: Darrick J. Wong Date: Wed, 30 Aug 2017 22:31:41 +0000 (-0700) Subject: common/rc: fix xfs_io scrub command existence test X-Git-Tag: v2022.05.01~1893 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=34141fb5f3cc3132708a799d4c06581d702244bf;p=users%2Fhch%2Fxfstests-dev.git common/rc: fix xfs_io scrub command existence test 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 Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- diff --git a/common/rc b/common/rc index 44b98f6f0..cd53a3734 100644 --- a/common/rc +++ b/common/rc @@ -2189,7 +2189,7 @@ _require_xfs_io_command() _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" ;;