From: Xiao Yang Date: Mon, 5 Sep 2016 05:56:47 +0000 (+0800) Subject: ext4/021: use $XFS_IO_PROG instead of xfs_io X-Git-Tag: v2022.05.01~2367 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=115563d150bc61bc332945de9721ee75fd28138b;p=users%2Fhch%2Fxfstests-dev.git ext4/021: use $XFS_IO_PROG instead of xfs_io We should use $XFS_IO_PROG to add "-F" option when we need it. Signed-off-by: Xiao Yang Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- diff --git a/tests/ext4/021 b/tests/ext4/021 index d758818ba..d5fad7cee 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