]> TLD Linux GIT Repositories - packages/lighttpd.git/blob - test-port-setup.patch
- updated to 1.4.73, build with lua54
[packages/lighttpd.git] / test-port-setup.patch
1
2 TODO: upstream it:
3 https://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