From c94988e75ea923afe0daae5747f974927325b186 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sat, 26 May 2018 16:28:03 +0200 Subject: 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 --- test/integration/framework | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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" -- cgit v1.2.3