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
darkhttpd
gatling
h2o
hiawatha
hyp
jboss
jetty
lighttpd lighttpd: fix tests on Linux 2019-01-11 11:46:23 +01:00
lwan
micro-httpd
mini-httpd
myserver
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
unit
webfs
webhook
winstone
yaws