summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2018-05-26 16:28:03 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2018-05-28 17:57:20 +0200
commitc94988e75ea923afe0daae5747f974927325b186 (patch)
tree5b83e90497dce88211448ad7f30ff2e9ff2bfefb /test
parent9b0319db37c97cfb2a018b6af97019efba4562ab (diff)
tests: Prevent stunnel4 from binding on IPv6
Hardcoding the IPv4 address 127.0.0.1 stops stunnel4 from also binding on IPv6 as well which not only binds on another port but confuses our crude port extraction by splitting on ':' with ::1. Gbp-Dch: Ignore
Diffstat (limited to 'test')
-rw-r--r--test/integration/framework2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/framework b/test/integration/framework
index 854f2c439..f7c68859f 100644
--- a/test/integration/framework
+++ b/test/integration/framework
@@ -1382,7 +1382,7 @@ cert = ${TMPWORKINGDIRECTORY}/rootdir/etc/webserver.pem
output = /dev/null
[https]
-accept = 0
+accept = 127.0.0.1:0
connect = $APTHTTPPORT
" > "${TMPWORKINGDIRECTORY}/stunnel.conf"
$stunnel4 "${TMPWORKINGDIRECTORY}/stunnel.conf"