Add an additional CI test for standard, cached queries
This commit is contained in:
parent
daf6d5881d
commit
2c295e3702
|
@ -47,6 +47,10 @@ section
|
|||
../dnscrypt-proxy/dnscrypt-proxy -loglevel 3 -config test2-dnscrypt-proxy.toml -pidfile /tmp/dnscrypt-proxy.pidfile &
|
||||
sleep 5
|
||||
|
||||
section
|
||||
t || dig -p${DNS_PORT} A microsoft.com @127.0.0.1 | grep -Fq "NOERROR" || fail
|
||||
t || dig -p${DNS_PORT} A MICROSOFT.COM @127.0.0.1 | grep -Fq "NOERROR" || fail
|
||||
|
||||
section
|
||||
t || dig -p${DNS_PORT} AAAA ipv6.google.com @127.0.0.1 | grep -Fq 'locally blocked' || fail
|
||||
|
||||
|
@ -101,6 +105,8 @@ section
|
|||
t || grep -Fq 'a.www.dnscrypt-test' nx.log || fail
|
||||
|
||||
section
|
||||
t || grep -Eq 'microsoft.com.*PASS.*[^-]$' query.log || fail
|
||||
t || grep -Eq 'microsoft.com.*PASS.*-$' query.log || fail
|
||||
t || grep -Eq 'ipv6.google.com.*SYNTH' query.log || fail
|
||||
t || grep -Eq 'invalid.*SYNTH' query.log || fail
|
||||
t || grep -Eq '168.192.in-addr.arpa.*SYNTH' query.log || fail
|
||||
|
|
Loading…
Reference in New Issue