diff options
Diffstat (limited to 'test/environment/dns.exp')
-rwxr-xr-x | test/environment/dns.exp | 10 |
1 files changed, 9 insertions, 1 deletions
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --dns=8.8.4.4 --dns=8.8.8.8 --dns=4.2.2.1\r" | 7 | send -- "firejail --dns=8.8.4.4 --dns=8.8.8.8 --dns=4.2.2.1 --dns=::2\r" |
8 | expect { | 8 | expect { |
9 | timeout {puts "TESTING ERROR 2.1\n";exit} | 9 | timeout {puts "TESTING ERROR 2.1\n";exit} |
10 | "Child process initialized" | 10 | "Child process initialized" |
@@ -24,6 +24,10 @@ expect { | |||
24 | timeout {puts "TESTING ERROR 2.4\n";exit} | 24 | timeout {puts "TESTING ERROR 2.4\n";exit} |
25 | "nameserver 4.2.2.1" | 25 | "nameserver 4.2.2.1" |
26 | } | 26 | } |
27 | expect { | ||
28 | timeout {puts "TESTING ERROR 2.5\n";exit} | ||
29 | "nameserver ::2" | ||
30 | } | ||
27 | after 100 | 31 | after 100 |
28 | send -- "exit\r" | 32 | send -- "exit\r" |
29 | sleep 1 | 33 | sleep 1 |
@@ -50,6 +54,10 @@ expect { | |||
50 | "nameserver 4.2.2.1" | 54 | "nameserver 4.2.2.1" |
51 | } | 55 | } |
52 | after 100 | 56 | after 100 |
57 | expect { | ||
58 | timeout {puts "TESTING ERROR 12.5\n";exit} | ||
59 | "nameserver ::2" | ||
60 | } | ||
53 | send -- "exit\r" | 61 | send -- "exit\r" |
54 | sleep 1 | 62 | sleep 1 |
55 | 63 | ||