xfsqa - fix redirection in 091
PATCH 1/1 xfsqa - fix redirection in 091
Fix the filtering of xfsinfo by punting stdout to /dev/null.
Signed-off-by Dave Chinner <[email protected]>
--- xfstests/091 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xfstests/091 +1 -1
@@ -50,7 +50,7 @@ kernel=`uname -r | sed -e 's/\(2\..\).* # 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
Quoted 1 line · David Chinner
Fix the filtering of xfsinfo by punting stdout to
/dev/null.
Ok.
Quoted 19 lines
Signed-off-by Dave Chinner <[email protected]>--- xfstests/091 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Index: xfs-cmds/xfstests/091
===================================================================xfstests/091 +1
-1@@ -50,7 +50,7 @@ kernel=`uname -r | sed -e 's/\(2\..\).* # 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
Quoted 12 lines · David Chinner
Fix the filtering of xfsinfo by punting stdout to
/dev/null.Signed-off-by Dave Chinner <[email protected]>--- xfstests/091 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Index: xfs-cmds/xfstests/091
===================================================================
xfstests/091 kernel=`uname -r | sed -e 's/\(2\..\).* · line 56
Quoted 8 lines
xfstests/091 +1
-1@@ -50,7 +50,7 @@ kernel=`uname -r | sed -e 's/\(2\..\).* # 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
fine
--Tim