aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2018-01-16 19:16:09 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2018-01-16 19:16:09 -0500
commit6ea0e6f273dc8071a381735b71acb21955b87a27 (patch)
tree47b3e7bdb72d971d5e25f2e011d4ce325782e7a3 /test/utils
parentMerge pull request #1715 from viq/patch-1 (diff)
downloadfirejail-6ea0e6f273dc8071a381735b71acb21955b87a27.tar.gz
firejail-6ea0e6f273dc8071a381735b71acb21955b87a27.tar.zst
firejail-6ea0e6f273dc8071a381735b71acb21955b87a27.zip
added support for IPv6 DNS configuration - #1722
Diffstat (limited to 'test/utils')
-rwxr-xr-xtest/utils/dns-print.exp6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/utils/dns-print.exp b/test/utils/dns-print.exp
index 1954844c9..a0fbaa12f 100755
--- a/test/utils/dns-print.exp
+++ b/test/utils/dns-print.exp
@@ -7,7 +7,7 @@ set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "firejail --name=test --dns=1.2.3.4\r" 10send -- "firejail --name=test --dns=1.2.3.4 --dns=::2\r"
11expect { 11expect {
12 timeout {puts "TESTING ERROR 0\n";exit} 12 timeout {puts "TESTING ERROR 0\n";exit}
13 "Child process initialized" 13 "Child process initialized"
@@ -20,5 +20,9 @@ expect {
20 timeout {puts "TESTING ERROR 1\n";exit} 20 timeout {puts "TESTING ERROR 1\n";exit}
21 "nameserver 1.2.3.4" 21 "nameserver 1.2.3.4"
22} 22}
23expect {
24 timeout {puts "TESTING ERROR 1\n";exit}
25 "nameserver ::2"
26}
23after 100 27after 100
24puts "\nall done\n" 28puts "\nall done\n"