public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH, XFSQA] Use common language setting
@ 2008-04-23  1:55 David Chinner
  2008-04-23  4:42 ` Barry Naujok
  0 siblings, 1 reply; 2+ messages in thread
From: David Chinner @ 2008-04-23  1:55 UTC (permalink / raw)
  To: xfs-dev; +Cc: xfs-oss

Prevent output from being munged by language settings and
causing golden output mismatches.

Signed-off-by: Dave Chinner <dgc@sgi.com>
---
 xfstests/common.config |    4 ++++
 1 file changed, 4 insertions(+)

Index: xfs-cmds/xfstests/common.config
===================================================================
--- xfs-cmds.orig/xfstests/common.config	2008-03-27 11:49:53.000000000 +1100
+++ xfs-cmds/xfstests/common.config	2008-04-23 11:52:36.980546211 +1000
@@ -32,6 +32,10 @@
 #   validity or mountedness.
 #
 
+# all tests should use a common language setting to prevent golden
+# output mismatches.
+export LANG=C
+
 # Warning: don't put freeware before /usr/bsd on IRIX coz you'll
 #  get the wrong hostname and set your system name to -s  :)
 [ -d /usr/bsd ] && PATH=$PATH:/usr/bsd

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

* Re: [PATCH, XFSQA] Use common language setting
  2008-04-23  1:55 [PATCH, XFSQA] Use common language setting David Chinner
@ 2008-04-23  4:42 ` Barry Naujok
  0 siblings, 0 replies; 2+ messages in thread
From: Barry Naujok @ 2008-04-23  4:42 UTC (permalink / raw)
  To: David Chinner, xfs-dev; +Cc: xfs-oss

On Wed, 23 Apr 2008 11:55:39 +1000, David Chinner <dgc@sgi.com> wrote:

> Prevent output from being munged by language settings and
> causing golden output mismatches.
>
> Signed-off-by: Dave Chinner <dgc@sgi.com>
> ---
>  xfstests/common.config |    4 ++++
>  1 file changed, 4 insertions(+)
>
> Index: xfs-cmds/xfstests/common.config
> ===================================================================
> --- xfs-cmds.orig/xfstests/common.config	2008-03-27 11:49:53.000000000  
> +1100
> +++ xfs-cmds/xfstests/common.config	2008-04-23 11:52:36.980546211 +1000
> @@ -32,6 +32,10 @@
>  #   validity or mountedness.
>  #
> +# all tests should use a common language setting to prevent golden
> +# output mismatches.
> +export LANG=C
> +
>  # Warning: don't put freeware before /usr/bsd on IRIX coz you'll
>  #  get the wrong hostname and set your system name to -s  :)
>  [ -d /usr/bsd ] && PATH=$PATH:/usr/bsd

Looks fine.

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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-23  1:55 [PATCH, XFSQA] Use common language setting David Chinner
2008-04-23  4:42 ` Barry Naujok

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