diff mbox

[v2] ext4/021: use $XFS_IO_PROG instead of xfs_io

Message ID 1473055007-26359-1-git-send-email-yangx.jy@cn.fujitsu.com (mailing list archive)
State New, archived
Headers show

Commit Message

Xiao Yang Sept. 5, 2016, 5:56 a.m. UTC
We should use $XFS_IO_PROG to add "-F" option when we need it.

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
---
 tests/ext4/021 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/tests/ext4/021 b/tests/ext4/021
index d758818..d5fad7c 100755
--- a/tests/ext4/021
+++ b/tests/ext4/021
@@ -80,7 +80,7 @@  fi
 # disk, the s_squence offset to the beginning of journal superblock is 24
 # we do this to let jbd2 start to run with a initial big transaction id,
 # which will reduce the time taken to trigger this bug.
-xfs_io  -c "pwrite -S 0x81 $((offset+24)) 1" \
+$XFS_IO_PROG -c "pwrite -S 0x81 $((offset+24)) 1" \
 	-c "pwrite -S 0xd1 $((offset+25)) 1" \
 	-c "pwrite -S 0xa4 $((offset+26)) 1" \
 	-c "pwrite -S 0x80 $((offset+27)) 1" $SCRATCH_DEV >> $seqres.full 2>&1