diff options
author | netblue30 <netblue30@yahoo.com> | 2016-02-20 08:57:35 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-02-20 08:57:35 -0500 |
commit | 3e71d9d0f840eaa58c84d486c1c68565e63d4f8f (patch) | |
tree | 6ef67b11af68a96d4e2cc752e475948166baa982 /test | |
parent | testing (diff) | |
download | firejail-3e71d9d0f840eaa58c84d486c1c68565e63d4f8f.tar.gz firejail-3e71d9d0f840eaa58c84d486c1c68565e63d4f8f.tar.zst firejail-3e71d9d0f840eaa58c84d486c1c68565e63d4f8f.zip |
testing
Diffstat (limited to 'test')
-rwxr-xr-x | test/ip6.exp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/ip6.exp b/test/ip6.exp index 19a822ee2..fba47d095 100755 --- a/test/ip6.exp +++ b/test/ip6.exp | |||
@@ -4,7 +4,7 @@ set timeout 10 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --debug --noprofile --net=eth0 --ip6=2001:0db8:0:f101::1/64 --netfilter6=ipv6.net\r" | 7 | send -- "firejail --debug --noprofile --net=br0 --ip6=2001:0db8:0:f101::1/64 --netfilter6=ipv6.net\r" |
8 | expect { | 8 | expect { |
9 | timeout {puts "TESTING ERROR 0\n";exit} | 9 | timeout {puts "TESTING ERROR 0\n";exit} |
10 | "Installing network filter" | 10 | "Installing network filter" |
@@ -26,15 +26,16 @@ sleep 2 | |||
26 | send -- "/sbin/ifconfig\r" | 26 | send -- "/sbin/ifconfig\r" |
27 | expect { | 27 | expect { |
28 | timeout {puts "TESTING ERROR 4\n";exit} | 28 | timeout {puts "TESTING ERROR 4\n";exit} |
29 | "inet6 addr" | 29 | "inet6" |
30 | } | 30 | } |
31 | expect { | 31 | expect { |
32 | timeout {puts "TESTING ERROR 5\n";exit} | 32 | timeout {puts "TESTING ERROR 5\n";exit} |
33 | "2001:db8:0:f101::1/64" | 33 | "2001:db8:0:f101::1" |
34 | } | 34 | } |
35 | expect { | 35 | expect { |
36 | timeout {puts "TESTING ERROR 6\n";exit} | 36 | timeout {puts "TESTING ERROR 6\n";exit} |
37 | "Scope:Global" | 37 | "Scope:Global" { puts "Debian\n"} |
38 | "scopeid 0x0<global>" { puts "Arch\n"} | ||
38 | } | 39 | } |
39 | 40 | ||
40 | 41 | ||