]> git.pld-linux.org Git - packages/lighttpd.git/blame_incremental - test-port-setup.patch
Up to lighttpd 1.4.58
[packages/lighttpd.git] / test-port-setup.patch
... / ...
CommitLineData
1
2TODO: upstream it:
3https://github.com/lighttpd/lighttpd1.4/pull/69
4
5--- lighttpd-1.4.56/tests/LightyTest.pm~ 2020-11-30 00:32:01.000000000 +0200
6+++ lighttpd-1.4.56/tests/LightyTest.pm 2020-11-30 08:31:44.175860280 +0200
7@@ -81,7 +81,7 @@
8 if (exists $ENV{LIGHTTPD_EXE_PATH}) {
9 $self->{LIGHTTPD_PATH} = $ENV{LIGHTTPD_EXE_PATH};
10 }
11- $self->{PORT} = 2048;
12+ $self->{PORT} = $ENV{LIGHTTPD_TEST_PORT} ? int($ENV{LIGHTTPD_TEST_PORT}) : 2048;
13
14 my ($name, $aliases, $addrtype, $net) = gethostbyaddr(inet_aton("127.0.0.1"), AF_INET);
15
This page took 0.025495 seconds and 4 git commands to generate.