]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
ext4/021: use $XFS_IO_PROG instead of xfs_io
authorXiao Yang <yangx.jy@cn.fujitsu.com>
Mon, 5 Sep 2016 05:56:47 +0000 (13:56 +0800)
committerEryu Guan <eguan@redhat.com>
Mon, 5 Sep 2016 06:29:16 +0000 (14:29 +0800)
We should use $XFS_IO_PROG to add "-F" option when we need it.

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/ext4/021

index d758818baa84961bb41e3da04359f33f0e318544..d5fad7ceed51f6b3c3b71bea59b7da4c42c3a6f9 100755 (executable)
@@ -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