]> granicus.if.org Git - procps-ng/commitdiff
Set the locale to C.
authorCraig Small <csmall@enc.com.au>
Sat, 30 Jun 2012 06:43:17 +0000 (16:43 +1000)
committerCraig Small <csmall@enc.com.au>
Sat, 30 Jun 2012 06:43:17 +0000 (16:43 +1000)
Some checks will fail due to different locales. For example 1.2 will
become 1,2 so the match fails.  Problem reported by Alfredo Esteban
with fix suggested by Mike Frysinger

testsuite/config/unix.exp

index 508fcd857d912838be757aca78b770384d32c8d8..9092b9d439aee1e9131a3f0963896c86def5ced5 100644 (file)
@@ -1,4 +1,5 @@
 
+set env(LC_ALL) "C"
 regexp "(.*\/)testsuite" $objdir objdir topdir
 
 # These are the same as include/c.h