Fix qa test 033 - if we have to retry mkfs with a different inode size,
authorNathan Scott <nathans@sgi.com>
Sat, 8 Feb 2003 22:59:28 +0000 (22:59 +0000)
committerNathan Scott <nathans@sgi.com>
Sat, 8 Feb 2003 22:59:28 +0000 (22:59 +0000)
make sure that output is not also in the result.

033

diff --git a/033 b/033
index cfc2f6f34de0d2ab154cac01a9764107e504273b..ec6276a0276899b8396852f598b6a4df2757af88 100755 (executable)
--- a/033
+++ b/033
@@ -78,7 +78,7 @@ _require_scratch
 mkfs_xfs $SCRATCH_DEV | _filter_mkfs 2>$tmp.mkfs
 source $tmp.mkfs
 [ $isize -lt 512 ] && \
 mkfs_xfs $SCRATCH_DEV | _filter_mkfs 2>$tmp.mkfs
 source $tmp.mkfs
 [ $isize -lt 512 ] && \
-       mkfs_xfs -isize=512 $SCRATCH_DEV | _filter_mkfs 2>/dev/null
+       mkfs_xfs -isize=512 $SCRATCH_DEV | _filter_mkfs >/dev/null 2>&1
 
 `xfs_db -r -c sb -c p $SCRATCH_DEV | grep 'ino = ' | \
        sed -e 's/ //g' -e 's/^/export /'`
 
 `xfs_db -r -c sb -c p $SCRATCH_DEV | grep 'ino = ' | \
        sed -e 's/ //g' -e 's/^/export /'`