[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fstests
Subject:    [PATCH 1/2] fstests: btrfs/104: Redirect mkfs output to avoid false alert
From:       Su Yue <suy.fnst () cn ! fujitsu ! com>
Date:       2016-12-30 4:14:09
Message-ID: 20161230041410.10038-1-suy.fnst () cn ! fujitsu ! com
[Download RAW message or body]

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 --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')
-- 
2.9.3



--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic