From b1a1fcbf578a3d2be1d616b6675a7702c8fde49b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 10 Jul 2008 08:41:28 +0200 Subject: make check: accommodate stricter POSIX-conforming shells Without this, test-related variable settings were not exported to the shell_or_perl_ function when using dash or Solaris 11's /bin/sh. * tests/check.mk (TESTS_ENVIRONMENT): Use an explicit "export", so as not to rely on non-POSIX behavior of some /bin/sh (e.g., bash-based ones). --- tests/check.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/check.mk') diff --git a/tests/check.mk b/tests/check.mk index c494da0fe..4fca28352 100644 --- a/tests/check.mk +++ b/tests/check.mk @@ -67,6 +67,7 @@ TESTS_ENVIRONMENT = \ $(SHELL) "$$1"; \ fi; \ }; \ + export \ LOCALE_FR='$(LOCALE_FR)' \ abs_top_builddir='$(abs_top_builddir)' \ abs_top_srcdir='$(abs_top_srcdir)' \ @@ -86,7 +87,7 @@ TESTS_ENVIRONMENT = \ PERL='$(PERL)' \ REPLACE_GETCWD=$(REPLACE_GETCWD) \ PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" \ - shell_or_perl_ + ; shell_or_perl_ TEST_LOGS = $(TESTS:=.log) -- cgit v1.2.3-54-g00ecf