CI: don't hardcode the HTTP port
This commit is contained in:
parent
80d45a2343
commit
99c86283f6
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue