diff options
Diffstat (limited to 'test/network/ip6.exp')
-rwxr-xr-x | test/network/ip6.exp | 16 |
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 | |||
10 | send -- "firejail --debug --noprofile --net=br0 --ip6=2001:0db8:0:f101::1/64 --netfilter6=ipv6.net\r" | 10 | send -- "firejail --debug --noprofile --net=br0 --ip6=2001:0db8:0:f101::1/64 --netfilter6=ipv6.net\r" |
11 | expect { | 11 | expect { |
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 | } |
15 | expect { | 15 | expect { |
16 | timeout {puts "TESTING ERROR 1\n";exit} | 16 | timeout {puts "TESTING ERROR 1\n";exit} |
@@ -46,10 +46,12 @@ send -- "exit\r" | |||
46 | sleep 2 | 46 | sleep 2 |
47 | 47 | ||
48 | 48 | ||
49 | |||
50 | |||
49 | send -- "firejail --debug --profile=ip6.profile\r" | 51 | send -- "firejail --debug --profile=ip6.profile\r" |
50 | expect { | 52 | expect { |
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 | } |
54 | expect { | 56 | expect { |
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 | ||
84 | send -- "exit\r" | 86 | send -- "exit\r" |
87 | sleep 2 | ||
85 | 88 | ||
89 | send -- "firejail --debug --netfilter6=ipv6.net\r" | ||
90 | expect { | ||
91 | timeout {puts "TESTING ERROR 11\n";exit} | ||
92 | "Installing IPv6 firewall" {puts "TESTING ERROR 12\n";exit} | ||
93 | "Child process initialized" | ||
94 | } | ||
86 | after 100 | 95 | after 100 |
96 | send -- "exit\r" | ||
87 | 97 | ||
98 | |||
99 | after 100 | ||
88 | puts "\nall done\n" | 100 | puts "\nall done\n" |