summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2010-01-12 10:18:21 +0000
committerPádraig Brady <P@draigBrady.com>2010-01-12 10:26:27 +0000
commitb81cdbf31ecf504aa9580ef04bfdcfa57311fdba (patch)
tree21df3e29aac23c74e05bd12fef18fe17df671442
parent0a6bbb594791a01c00f91dcb79815637f550f16b (diff)
downloadcoreutils-b81cdbf31ecf504aa9580ef04bfdcfa57311fdba.tar.xz
maint: fix tests on solaris by using /usr/xpg4/bin
* tests/check.mk: Prepend /usr/xpg4/bin to the $PATH if present. Using the more standard utilities allows tests such as misc/printenv, which uses the -E option to grep, to complete.
-rw-r--r--tests/check.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check.mk b/tests/check.mk
index c1ea85ab1..86f7dc2a9 100644
--- a/tests/check.mk
+++ b/tests/check.mk
@@ -91,6 +91,7 @@ TESTS_ENVIRONMENT = \
PERL='$(PERL)' \
PREFERABLY_POSIX_SHELL='$(PREFERABLY_POSIX_SHELL)' \
REPLACE_GETCWD=$(REPLACE_GETCWD) \
+ ; test -d /usr/xpg4/bin && PATH='/usr/xpg4/bin$(PATH_SEPARATOR)'"$$PATH"; \
PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" \
; shell_or_perl_