From: Xiao Yang Date: Tue, 20 Sep 2016 05:23:12 +0000 (+0800) Subject: common/rc: fix fsmap check X-Git-Tag: v2022.05.01~2356 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e35b2df320ec0687dc093044281d065d7508a189;p=xfstests-dev.git common/rc: fix fsmap check We don't need -T to detect GETFSMAP and the flag doesn't exist on really old versions of xfs_io, so just get rid of it. Signed-off-by: Xiao Yang Reviewed-by: Darrick J. Wong Signed-off-by: Eryu Guan --- diff --git a/common/rc b/common/rc index 655ae287..8a393d9d 100644 --- a/common/rc +++ b/common/rc @@ -2049,8 +2049,7 @@ _require_xfs_io_command() _notrun "xfs_io $command support is missing" ;; "fsmap" ) - testio=`$XFS_IO_PROG -T -F -c "fsmap" \ - $TEST_DIR 2>&1` + testio=`$XFS_IO_PROG -f -c "fsmap" $testfile 2>&1` echo $testio | egrep -q "Inappropriate ioctl" && \ _notrun "xfs_io $command support is missing" ;;