From 2c295e37020a496ad471979f9ecb451e66c37853 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 17 Dec 2019 19:03:02 +0100 Subject: [PATCH] Add an additional CI test for standard, cached queries --- .ci/ci-test.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.ci/ci-test.sh b/.ci/ci-test.sh index ca0d103a..bf963fdf 100755 --- a/.ci/ci-test.sh +++ b/.ci/ci-test.sh @@ -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