From: Pádraig Brady
Date: Tue, 12 Jan 2010 10:18:21 +0000 (+0000) Subject: maint: fix tests on solaris by using /usr/xpg4/bin X-Git-Tag: v8.4~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b81cdbf31ecf504aa9580ef04bfdcfa57311fdba;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/tests/check.mk b/tests/check.mk index c1ea85ab11..86f7dc2a95 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_