git » dnss » commit 82389c3

test: Re-enable external test against 1.1.1.1

author Alberto Bertogli
2018-04-27 05:55:31 UTC
committer Alberto Bertogli
2018-04-27 05:55:31 UTC
parent 18b157700c5b80ac892bd2462b514db223cb19d5

test: Re-enable external test against 1.1.1.1

Now that 1.1.1.1 supports the latest DoH draft, this patch re-enables
the test against it.

tests/external.sh +7 -8

diff --git a/tests/external.sh b/tests/external.sh
index 3a68cd2..178b6bb 100755
--- a/tests/external.sh
+++ b/tests/external.sh
@@ -125,14 +125,13 @@ kill $PID
 kill $HTTP_PID
 
 
-# TODO: uncomment when 1.1.1.1 supports -07.
-#echo "## DoH against 1.1.1.1"
-#dnss -enable_dns_to_https -dns_listen_addr "localhost:1053" \
-#	-experimental__doh_mode \
-#	-https_upstream "https://1.1.1.1/dns-query"
-#
-#resolve
-#kill $PID
+echo "## DoH against 1.1.1.1"
+dnss -enable_dns_to_https -dns_listen_addr "localhost:1053" \
+	-experimental__doh_mode \
+	-https_upstream "https://1.1.1.1/dns-query"
+
+resolve
+kill $PID
 
 
 echo "## JSON against default (checks default works)"