components/lighttpd/patches/tests-perlver.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Mon, 19 Sep 2016 05:51:20 -0700
changeset 7006 eb24eb49f7c4
parent 5738 fc0e1d002c9e
permissions -rw-r--r--
24688963 Upgrade lighttpd to version 1.4.41 24688996 problem in UTILITY/LIGHTTPD

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
@@ -444,7 +444,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) \