]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
btrfs/104: Redirect mkfs output to avoid false alert
authorSu Yue <suy.fnst@cn.fujitsu.com>
Fri, 30 Dec 2016 04:14:09 +0000 (23:14 -0500)
committerEryu Guan <eguan@redhat.com>
Fri, 30 Dec 2016 06:18:30 +0000 (14:18 +0800)
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>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/btrfs/104

index e6a6d3b544ede27ec88294a7957e5b6cfd685da7..c8be4dd11428c768a66d78a73f99a79426971faa 100755 (executable)
@@ -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')