]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
Fix the filtering of xfsinfo by punting stdout to /dev/null.
authorDave Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 06:20:11 +0000 (06:20 +0000)
committerDave Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 06:20:11 +0000 (06:20 +0000)
Merge of master-melb:xfs-cmds:30837a by kenmcd.

  Fix the filtering of xfsinfo by punting stdout to /dev/null.

091

diff --git a/091 b/091
index b9537fd00ac869334642a30accf3a9fc4d9a8f0b..282dce1f0f77e7a6d59cef3e0dd1ce259982718d 100755 (executable)
--- a/091
+++ b/091
@@ -50,7 +50,7 @@ kernel=`uname -r  | sed -e 's/\(2\..\).*/\1/'`
 
 # 2.6 Linux kernels support sector aligned direct I/O only
 if [ "$HOSTOS" = "Linux" -a "$kernel" = "2.6" ]; then
-       xfs_info $TEST_DIR | _filter_mkfs 2> $tmp.info
+       xfs_info $TEST_DIR | _filter_mkfs 2> $tmp.info > /dev/null
        if [ $? -eq 0 ]; then
                source $tmp.info
                bsize=$sectsz