Skip to content

Commit

Permalink
CI: don't hardcode the HTTP port
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Dec 18, 2019
1 parent 80d45a2 commit 99c8628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/ci-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 99c8628

Please sign in to comment.