Skip to contentSkip to conversation

xfstests: fix to make tests/btrfs/013 work using all version btrfs progs

PATCH New ZhangZhen 1 participant 1 message Feb 25, 2014 Btrfs file system

lore
Share & tools
lore

ZhangZhen

author
#0 lore raw

PATCH v2 1/1 xfstests: fix to make tests/btrfs/013 work using all version btrfs progs

The test 013 couldn't work using some old version btrfs progs e.g.(btrfs progs v0.19 openSUSE 12.3)because here lacked "start". This patch fix it.

---
 tests/btrfs/013 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/btrfs/013 +1 -1
index 7620fcc..fb81663 100644
@@ -72,7 +72,7 @@ _check_csum_error()
 }
 $XFS_IO_PROG -f -c "falloc 0 1M" -c "pwrite 16k 8k" -c "fsync" \
 	$SCRATCH_MNT/foo > $seqres.full 2>&1
-$BTRFS_UTIL_PROG filesystem balance $SCRATCH_MNT >> $seqres.full 2>&1 || \
+$BTRFS_UTIL_PROG filesystem balance start $SCRATCH_MNT >> $seqres.full 2>&1 || \
 	_fail "balance failed"
 _scratch_unmount
 _scratch_mount