Skip to content

Commit 99c8628

Browse files
committedDec 18, 2019
CI: don't hardcode the HTTP port
1 parent 80d45a2 commit 99c8628

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.ci/ci-test.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ t || dig -p${DNS_PORT} tracker.xdebian.org @127.0.0.1 | grep -Fq 'locally blocke
8282
t || dig -p${DNS_PORT} tracker.debian.org @127.0.0.1 | grep -Fqv 'locally blocked' || fail
8383

8484
section
85-
t || curl --insecure -siL https://127.0.0.1:3000/ | grep -Fq '404 Not Found' || fail
86-
t || curl --insecure -sL https://127.0.0.1:3000/dns-query | grep -Fq 'dnscrypt-proxy local DoH server' || fail
85+
t || curl --insecure -siL https://127.0.0.1:${HTTP_PORT}/ | grep -Fq '404 Not Found' || fail
86+
t || curl --insecure -sL https://127.0.0.1:${HTTP_PORT}/dns-query | grep -Fq 'dnscrypt-proxy local DoH server' || fail
8787

8888
kill $(cat /tmp/dnscrypt-proxy.pidfile)
8989

0 commit comments

Comments
 (0)