3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/http
Michael Raskin 3bd38b0daa lighttpd: fix tests on Linux
The tests were enabled in #53488 and succeeded on Darwin; on Linux they
still failed because of empty hostname inside the sandbox (we have no
UTS-namespace hostname and I think no /etc/hosts). Nix on Darwin lacks
powerful enough sandboxing, so there were no problems on Darwin.

Patching the tests to fallback to "127.0.0.1" if hostname of the
localhost cannot be retrieved matches the behaviour of lighttpd itself
and allows the tests to pass.

Not sure if having no hostname in the test environment is a bit too
weird for the upstream to care.
2019-01-11 11:46:23 +01:00
..
4store
apache-httpd
apache-modules
apt-cacher-ng
couchdb couchdb2: 2.2.0 -> 2.3.0 2018-12-25 23:16:34 -08:00
darkhttpd
gatling
h2o
hiawatha
hyp
jboss
jetty jetty: 9.4.12.v20180830 -> 9.4.14.v20181114 2018-11-19 05:11:10 -08:00
lighttpd lighttpd: fix tests on Linux 2019-01-11 11:46:23 +01:00
lwan
micro-httpd
mini-httpd
myserver Treewide: use HTTPS on GNU domains 2018-12-02 15:51:59 +01:00
nginx nginxMainline: 1.15.7 -> 1.15.8 2019-01-11 07:55:25 +01:00
nix-binary-cache
openresty
pshs
redstore
spawn-fcgi
tengine
thttpd
tomcat tomcat: update minor versions 2018-12-05 11:32:20 +01:00
unit unit: 1.6 -> 1.7 2018-12-22 11:23:38 +03:00
webfs
webhook
winstone
yaws