From: Xiao Yang Date: Mon, 4 Jun 2018 04:50:12 +0000 (+0800) Subject: common/rc: Fix _require_xfs_io_command for scrub probe X-Git-Tag: v2022.05.01~1517 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f99695e4da597f4f12cd1e1f70b53cc723f522fe;p=xfstests-dev.git common/rc: Fix _require_xfs_io_command for scrub probe Currently, xfs_io scrub command doesn't allow the probe function to have any parameter, so we remove the invalid parameter. Signed-off-by: Xiao Yang Reviewed-by: Darrick J. Wong Signed-off-by: Eryu Guan --- diff --git a/common/rc b/common/rc index ab5dba25..a4364972 100644 --- a/common/rc +++ b/common/rc @@ -2154,7 +2154,7 @@ _require_xfs_io_command() param_checked=1 ;; "scrub"|"repair") - testio=`$XFS_IO_PROG -x -c "$command probe 0" $TEST_DIR 2>&1` + testio=`$XFS_IO_PROG -x -c "$command probe" $TEST_DIR 2>&1` echo $testio | grep -q "Inappropriate ioctl" && \ _notrun "xfs_io $command support is missing" ;;