summaryrefslogtreecommitdiff
path: root/tests/condition.conf
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2021-01-01 13:44:00 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2021-01-05 12:52:11 -0500
commit5b1b9f78247e122804490b17112e94df32851464 (patch)
treee8b7580206627e5cd84e9fa4c01dcd0296344da6 /tests/condition.conf
parent048af4c5063485b65d9919f6a7a5d28c1db02d66 (diff)
downloadlighttpd-git-5b1b9f78247e122804490b17112e94df32851464.tar.gz
[tests] use ephemeral ports in tests
avoid spurious test failures due to conflicts with ports in use by other processes, which might occur when tests use hard-coded ports
Diffstat (limited to 'tests/condition.conf')
-rw-r--r--tests/condition.conf9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/condition.conf b/tests/condition.conf
index f02e7ec4..b28be7b8 100644
--- a/tests/condition.conf
+++ b/tests/condition.conf
@@ -1,20 +1,13 @@
-
debug.log-request-handling = "enable"
debug.log-condition-handling = "enable"
+server.systemd-socket-activation = "enable"
server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
-
-## bind to port (default: 80)
-server.port = 2048
-
-## bind to localhost (default: all interfaces)
-server.bind = "localhost"
server.errorlog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
server.breakagelog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
server.name = "www.example.org"
server.tag = "Apache 1.3.29"
-
server.compat-module-load = "disable"
server.modules = (
"mod_redirect",