Thread (13 messages) 13 messages, 3 authors, 2017-08-31
STALE3246d

[PATCH 6/4] common/rc: fix xfs_io scrub command existence test

From: Darrick J. Wong <hidden>
Date: 2017-08-30 22:31:46
Also in: fstests
Subsystem: the rest · Maintainer: Linus Torvalds

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 <redacted>
---
 common/rc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/rc b/common/rc
index b4f0b32..ea58736 100644
--- a/common/rc
+++ b/common/rc
@@ -2203,7 +2203,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 | egrep -q "Inappropriate ioctl" && \
 			_notrun "xfs_io $command support is missing"
 		;;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help