Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make/unit-tests Force LANG=C to ensure sort(1) behav...
details: https://anonhg.NetBSD.org/src/rev/83792977a6c5
branches: trunk
changeset: 754179:83792977a6c5
user: sjg <sjg%NetBSD.org@localhost>
date: Thu Apr 22 21:41:11 2010 +0000
description:
Force LANG=C to ensure sort(1) behaves as expected
diffstat:
usr.bin/make/unit-tests/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 780583468f0b -r 83792977a6c5 usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile Thu Apr 22 21:02:25 2010 +0000
+++ b/usr.bin/make/unit-tests/Makefile Thu Apr 22 21:41:11 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2010/04/22 19:15:24 sjg Exp $
+# $NetBSD: Makefile,v 1.28 2010/04/22 21:41:11 sjg Exp $
#
# Unit tests for make(1)
# The main targets are:
@@ -58,6 +58,10 @@
TEST_MAKE?= ${.MAKE}
TOOL_SED?= sed
+# ensure consistent results from sort(1)
+LANG= C
+.export LANG
+
# The driver.
# We always pretend .MAKE was called 'make'
# and strip ${.CURDIR}/ from the output
Home |
Main Index |
Thread Index |
Old Index