diff mbox

[1/2] fstests: btrfs/104: Redirect mkfs output to avoid false alert

Message ID 20161230041410.10038-1-suy.fnst@cn.fujitsu.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Su Yue Dec. 30, 2016, 4:14 a.m. UTC
btrfs/104 doesn't redirect mkfs output correctly, which leads to false
alert.

Fix it.

Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com>
---
 tests/btrfs/104 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/tests/btrfs/104 b/tests/btrfs/104
index e6a6d3b..c8be4dd 100755
--- a/tests/btrfs/104
+++ b/tests/btrfs/104
@@ -107,7 +107,7 @@  _explode_fs_tree () {
 
 # Force the default leaf size as the calculations for making our btree
 # heights are based on that.
-_scratch_mkfs "--nodesize 16384"
+_scratch_mkfs "--nodesize 16384" >> $seqres.full 2>&1
 _scratch_mount
 
 # populate the default subvolume and create a snapshot ('snap1')