aboutsummaryrefslogtreecommitdiffstats
path: root/test/network/ip6.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-11-15 07:09:41 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2017-11-15 07:09:41 -0500
commit77a891838f0456944777830152171c23fb52a71a (patch)
tree679ccfae005f3a1d0a17bcfa8c6000e8b2205d8a /test/network/ip6.exp
parentnetfilter split (diff)
downloadfirejail-77a891838f0456944777830152171c23fb52a71a.tar.gz
firejail-77a891838f0456944777830152171c23fb52a71a.tar.zst
firejail-77a891838f0456944777830152171c23fb52a71a.zip
netfilter split, --netfilter.print, --netfilter6.print
Diffstat (limited to 'test/network/ip6.exp')
-rwxr-xr-xtest/network/ip6.exp16
1 files changed, 14 insertions, 2 deletions
diff --git a/test/network/ip6.exp b/test/network/ip6.exp
index 26780e167..c55f690db 100755
--- a/test/network/ip6.exp
+++ b/test/network/ip6.exp
@@ -10,7 +10,7 @@ match_max 100000
10send -- "firejail --debug --noprofile --net=br0 --ip6=2001:0db8:0:f101::1/64 --netfilter6=ipv6.net\r" 10send -- "firejail --debug --noprofile --net=br0 --ip6=2001:0db8:0:f101::1/64 --netfilter6=ipv6.net\r"
11expect { 11expect {
12 timeout {puts "TESTING ERROR 0\n";exit} 12 timeout {puts "TESTING ERROR 0\n";exit}
13 "Installing network filter" 13 "Installing IPv6 firewall"
14} 14}
15expect { 15expect {
16 timeout {puts "TESTING ERROR 1\n";exit} 16 timeout {puts "TESTING ERROR 1\n";exit}
@@ -46,10 +46,12 @@ send -- "exit\r"
46sleep 2 46sleep 2
47 47
48 48
49
50
49send -- "firejail --debug --profile=ip6.profile\r" 51send -- "firejail --debug --profile=ip6.profile\r"
50expect { 52expect {
51 timeout {puts "TESTING ERROR 10\n";exit} 53 timeout {puts "TESTING ERROR 10\n";exit}
52 "Installing network filter" 54 "Installing IPv6 firewall"
53} 55}
54expect { 56expect {
55 timeout {puts "TESTING ERROR 11\n";exit} 57 timeout {puts "TESTING ERROR 11\n";exit}
@@ -82,7 +84,17 @@ expect {
82} 84}
83 85
84send -- "exit\r" 86send -- "exit\r"
87sleep 2
85 88
89send -- "firejail --debug --netfilter6=ipv6.net\r"
90expect {
91 timeout {puts "TESTING ERROR 11\n";exit}
92 "Installing IPv6 firewall" {puts "TESTING ERROR 12\n";exit}
93 "Child process initialized"
94}
86after 100 95after 100
96send -- "exit\r"
87 97
98
99after 100
88puts "\nall done\n" 100puts "\nall done\n"