components/lighttpd/patches/tests-perlver.patch
author Danek Duvall <danek.duvall@oracle.com>
Thu, 15 Sep 2016 14:40:13 -0700
changeset 6952 ce0a03807d13
parent 5738 fc0e1d002c9e
child 7006 eb24eb49f7c4
permissions -rw-r--r--
24676164 prep-git.mk only archives with .tar.gz

Patch origin: in-house
Patch status: Solaris-specific; not suitable for upstream

Makes Perl tests independent on perl mediator setting. Note that there
might be different test results depending on used Perl version.

--- tests/Makefile.in
+++ tests/Makefile.in
@@ -449,7 +449,7 @@
 	var-include-sub.conf \
 	var-include.conf
 
-TESTS_ENVIRONMENT = $(srcdir)/wrapper.sh $(srcdir) $(top_builddir)
+TESTS_ENVIRONMENT = PATH="/usr/perl5/5.22/bin:$(PATH)" $(srcdir)/wrapper.sh $(srcdir) $(top_builddir)
 EXTRA_DIST = \
 	$(CONFS) \
 	$(TESTS) \