Author: keramida (doc committer)
Date: Sun Jan  9 22:05:09 2011
New Revision: 217208
URL: http://svn.freebsd.org/changeset/base/217208

Log:
  regression/date: unset all LC_xxx vars and set LANG/LC_ALL
  
  When running with a custom locale setup, it's easy to confuse the
  date regression tests and cause them to fail, e.g. when LANG='C'
  but LC_ALL='el_GR.UTF-8'.  Set LC_ALL to 'C', which overrides all
  other LC_xxx options, to avoid this sort of problem.
  
  Reviewed by:  uqs, edwin

Modified:
  head/tools/regression/bin/date/regress.sh

Modified: head/tools/regression/bin/date/regress.sh
==============================================================================
--- head/tools/regression/bin/date/regress.sh   Sun Jan  9 21:39:46 2011        
(r217207)
+++ head/tools/regression/bin/date/regress.sh   Sun Jan  9 22:05:09 2011        
(r217208)
@@ -19,7 +19,7 @@
 TEST1=3222243          # 1970-02-07 07:04:03
 TEST2=1005600000       # 2001-11-12 21:11:12
 
-export LANG=C
+export LC_ALL=C
 export TZ=UTC
 count=0
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to