xfs
[Top] [All Lists]

[PATCH, XFSQA] Use common language setting

To: xfs-dev <xfs-dev@xxxxxxx>
Subject: [PATCH, XFSQA] Use common language setting
From: David Chinner <dgc@xxxxxxx>
Date: Wed, 23 Apr 2008 11:55:39 +1000
Cc: xfs-oss <xfs@xxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
Prevent output from being munged by language settings and
causing golden output mismatches.

Signed-off-by: Dave Chinner <dgc@xxxxxxx>
---
 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


<Prev in Thread] Current Thread [Next in Thread>