CI: don't hardcode the HTTP port

This commit is contained in:
Frank Denis 2019-12-18 12:54:55 +01:00
parent 80d45a2343
commit 99c86283f6
1 changed files with 2 additions and 2 deletions

View File

@ -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 t || dig -p${DNS_PORT} tracker.debian.org @127.0.0.1 | grep -Fqv 'locally blocked' || fail
section section
t || curl --insecure -siL https://127.0.0.1:3000/ | grep -Fq '404 Not Found' || 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:3000/dns-query | grep -Fq 'dnscrypt-proxy local DoH server' || 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) kill $(cat /tmp/dnscrypt-proxy.pidfile)