public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] xfsqa - fix redirection in 091
@ 2008-04-10  4:27 David Chinner
  2008-04-10  4:31 ` Barry Naujok
  2008-04-10  4:32 ` Timothy Shimmin
  0 siblings, 2 replies; 3+ messages in thread
From: David Chinner @ 2008-04-10  4:27 UTC (permalink / raw)
  To: xfs-dev; +Cc: xfs-oss

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

Signed-off-by: Dave Chinner <dgc@sgi.com>
---
 xfstests/091 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: xfs-cmds/xfstests/091
===================================================================
--- xfs-cmds.orig/xfstests/091	2008-04-08 12:25:08.000000000 +1000
+++ xfs-cmds/xfstests/091	2008-04-10 07:33:10.674694972 +1000
@@ -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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch] xfsqa - fix redirection in 091
  2008-04-10  4:27 [patch] xfsqa - fix redirection in 091 David Chinner
@ 2008-04-10  4:31 ` Barry Naujok
  2008-04-10  4:32 ` Timothy Shimmin
  1 sibling, 0 replies; 3+ messages in thread
From: Barry Naujok @ 2008-04-10  4:31 UTC (permalink / raw)
  To: David Chinner, xfs-dev; +Cc: xfs-oss

On Thu, 10 Apr 2008 14:27:01 +1000, David Chinner <dgc@sgi.com> wrote:

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

Ok.

> Signed-off-by: Dave Chinner <dgc@sgi.com>
> ---
>  xfstests/091 |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: xfs-cmds/xfstests/091
> ===================================================================
> --- xfs-cmds.orig/xfstests/091	2008-04-08 12:25:08.000000000 +1000
> +++ xfs-cmds/xfstests/091	2008-04-10 07:33:10.674694972 +1000
> @@ -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
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch] xfsqa - fix redirection in 091
  2008-04-10  4:27 [patch] xfsqa - fix redirection in 091 David Chinner
  2008-04-10  4:31 ` Barry Naujok
@ 2008-04-10  4:32 ` Timothy Shimmin
  1 sibling, 0 replies; 3+ messages in thread
From: Timothy Shimmin @ 2008-04-10  4:32 UTC (permalink / raw)
  To: David Chinner; +Cc: xfs-dev, xfs-oss

David Chinner wrote:
> Fix the filtering of xfsinfo by punting stdout to /dev/null.
> 
> Signed-off-by: Dave Chinner <dgc@sgi.com>
> ---
>  xfstests/091 |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: xfs-cmds/xfstests/091
> ===================================================================
> --- xfs-cmds.orig/xfstests/091	2008-04-08 12:25:08.000000000 +1000
> +++ xfs-cmds/xfstests/091	2008-04-10 07:33:10.674694972 +1000
> @@ -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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-10  4:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-10  4:27 [patch] xfsqa - fix redirection in 091 David Chinner
2008-04-10  4:31 ` Barry Naujok
2008-04-10  4:32 ` Timothy Shimmin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox