From 6ea0e6f273dc8071a381735b71acb21955b87a27 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Tue, 16 Jan 2018 19:16:09 -0500 Subject: added support for IPv6 DNS configuration - #1722 --- test/environment/dns.exp | 10 +++++++++- test/environment/dns.profile | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'test/environment') diff --git a/test/environment/dns.exp b/test/environment/dns.exp index 0d12a82f2..6ddc0ccea 100755 --- a/test/environment/dns.exp +++ b/test/environment/dns.exp @@ -4,7 +4,7 @@ set timeout 30 spawn $env(SHELL) match_max 100000 -send -- "firejail --dns=8.8.4.4 --dns=8.8.8.8 --dns=4.2.2.1\r" +send -- "firejail --dns=8.8.4.4 --dns=8.8.8.8 --dns=4.2.2.1 --dns=::2\r" expect { timeout {puts "TESTING ERROR 2.1\n";exit} "Child process initialized" @@ -24,6 +24,10 @@ expect { timeout {puts "TESTING ERROR 2.4\n";exit} "nameserver 4.2.2.1" } +expect { + timeout {puts "TESTING ERROR 2.5\n";exit} + "nameserver ::2" +} after 100 send -- "exit\r" sleep 1 @@ -50,6 +54,10 @@ expect { "nameserver 4.2.2.1" } after 100 +expect { + timeout {puts "TESTING ERROR 12.5\n";exit} + "nameserver ::2" +} send -- "exit\r" sleep 1 diff --git a/test/environment/dns.profile b/test/environment/dns.profile index d1b842c86..ade2f2650 100644 --- a/test/environment/dns.profile +++ b/test/environment/dns.profile @@ -1,3 +1,4 @@ dns 8.8.4.4 dns 8.8.8.8 dns 4.2.2.1 +dns ::2 -- cgit v1.2.3-54-g00ecf