maint: fix wrong PATH in testsuite

The switch to non-recursive make in v4.2.2-129-g3b29bec used a wrong
directory name in the PATH construction of automake's TESTS_ENVIRONMENT
variable ('/src/' instead of '/sed').
This had no effect as each test shell script appended the ./sed/ path
independently. However, switching to perl-based tests - this will be
noticed as the just-built sed binary will not be in the PATH.

* testsuite/local.mk: Fix $PATH variable in test environment.
This commit is contained in:
Assaf Gordon committed 2017-05-10 02:02:28 +00:00
1 parent 0141cf8288
commit 74dc7dca4d
1 file changed
+1 -1
+1 -1
View File
@@ -178,7 +178,7 @@ TESTS_ENVIRONMENT = \
PACKAGE_VERSION=$(PACKAGE_VERSION) \
PERL='$(PERL)' \
SHELL='$(SHELL)' \
PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" \
PATH='$(abs_top_builddir)/sed$(PATH_SEPARATOR)'"$$PATH" \
$(LOCALCHARSET_TESTS_ENVIRONMENT) \
; 9>&2