Jim Meyering <[email protected]> writes:

>       tests: correct the "make check"-run check-AUTHORS test

2009-05-05  Andreas Schwab  <[email protected]>

        * src/Makefile.am (check-AUTHORS): Set locale.

diff --git a/src/Makefile.am b/src/Makefile.am
index 136cada..260a1fa 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -388,8 +388,9 @@ au_dotdot = authors-dotdot
 au_actual = authors-actual
 .PHONY: check-AUTHORS
 check-AUTHORS: $(all_programs)
-       $(AM_V_GEN)LC_ALL="$$locale" ./cat --version    \
-           | grep ' Torbjorn '                         \
+       $(AM_V_GEN)locale=en_US.UTF-8;                  \
+       LC_ALL="$$locale" ./cat --version               \
+           | grep ' Torbjorn ' > /dev/null             \
          && { echo "$@: skipping this check"; exit 0; }; \
        rm -f $(au_actual) $(au_dotdot);                \
        for i in `ls $(all_programs) | sed -e 's,$(EXEEXT)$$,,' \

Andreas.

-- 
Andreas Schwab, [email protected]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to