summaryrefslogtreecommitdiff
path: root/tests/Makefile.in
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-08-15 06:54:15 +0000
committerJim Meyering <jim@meyering.net>2003-08-15 06:54:15 +0000
commitdcdee393d78dcd78cebffa148acff2eb7cf6eac2 (patch)
tree67d759f2c9d6fcb3c05f019ee6d5950eaf1feed3 /tests/Makefile.in
parent2faafb85123a032357c4a01678feb9f65bbdcb52 (diff)
downloadcoreutils-dcdee393d78dcd78cebffa148acff2eb7cf6eac2.tar.xz
.
Diffstat (limited to 'tests/Makefile.in')
-rw-r--r--tests/Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/Makefile.in b/tests/Makefile.in
index 4d972ca3f..96ee63575 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -152,10 +152,15 @@ sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
+# Sort in traditional ASCII order, regardless of the current locale;
+# otherwise we may get into trouble with distinct strings that the
+# current locale considers to be equal.
+ASSORT = LC_ALL=C sort
+
all_programs = \
echo 'spy:;@echo $$(all_programs)' \
| MAKEFLAGS= $(MAKE) -s -C ../src -f Makefile -f - spy \
- | fmt -1 | sort -u
+ | fmt -1 | $(ASSORT) -u
TESTS = help-version