[PATCH for xfstests] xfstests: fix to make tests/btrfs/013 really work

ZhangZhen zhenzhang.zhang at huawei.com
Mon Feb 24 04:51:04 CST 2014


The test 013 couldn't work because here lacked "start".
This patch fix it.

Signed-off-by: Zhang Zhen <zhenzhang.zhang at huawei.com>
---
 tests/btrfs/013 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/btrfs/013 b/tests/btrfs/013
index 7620fcc..fb81663 100644
--- a/tests/btrfs/013
+++ b/tests/btrfs/013
@@ -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
-- 
1.8.1.4


.




_______________________________________________
kernel.openeuler mailing list
kernel.openeuler at huawei.com
http://rnd-openeuler.huawei.com/mailman/listinfo/kernel.openeuler







More information about the xfs mailing list