From 99c86283f6a58052e4d34481047b8b21e53ecde3 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 18 Dec 2019 12:54:55 +0100 Subject: [PATCH] CI: don't hardcode the HTTP port --- .ci/ci-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/ci-test.sh b/.ci/ci-test.sh index 2219f51d..44cec2dd 100755 --- a/.ci/ci-test.sh +++ b/.ci/ci-test.sh @@ -82,8 +82,8 @@ t || dig -p${DNS_PORT} tracker.xdebian.org @127.0.0.1 | grep -Fq 'locally blocke t || dig -p${DNS_PORT} tracker.debian.org @127.0.0.1 | grep -Fqv 'locally blocked' || fail section -t || curl --insecure -siL https://127.0.0.1:3000/ | grep -Fq '404 Not Found' || fail -t || curl --insecure -sL https://127.0.0.1:3000/dns-query | grep -Fq 'dnscrypt-proxy local DoH server' || fail +t || curl --insecure -siL https://127.0.0.1:${HTTP_PORT}/ | grep -Fq '404 Not Found' || fail +t || curl --insecure -sL https://127.0.0.1:${HTTP_PORT}/dns-query | grep -Fq 'dnscrypt-proxy local DoH server' || fail kill $(cat /tmp/dnscrypt-proxy.pidfile)