| To: | <xfs@xxxxxxxxxxx>, <linux-btrfs@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH v2] xfstests: fix to make tests/btrfs/013 work using all version btrfs progs |
| From: | ZhangZhen <zhenzhang.zhang@xxxxxxxxxx> |
| Date: | Tue, 25 Feb 2014 10:57:30 +0800 |
| Cc: | Wang Shilong <wangsl.fnst@xxxxxxxxxxxxxx>, <du.duyongfeng@xxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 |
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.
Signed-off-by: Zhang Zhen <zhenzhang.zhang@xxxxxxxxxx>
---
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH for xfstests] xfstests: fix to make tests/btrfs/013 really work, ZhangZhen |
|---|---|
| Next by Date: | Re: [PATCH v5 0/10] fs: Introduce new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate, Stephen Rothwell |
| Previous by Thread: | Publicite su empresa por e-mail en todo el país. Más de 700.000 contactos. Desde $ 580, Lorena |
| Next by Thread: | [PATCH] xfs: clean up xfs_set_maxicount & use in growfs, Eric Sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |