diff options
Diffstat (limited to 'test/ip6.exp')
-rwxr-xr-x | test/ip6.exp | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/test/ip6.exp b/test/ip6.exp deleted file mode 100755 index fba47d095..000000000 --- a/test/ip6.exp +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | send -- "firejail --debug --noprofile --net=br0 --ip6=2001:0db8:0:f101::1/64 --netfilter6=ipv6.net\r" | ||
8 | expect { | ||
9 | timeout {puts "TESTING ERROR 0\n";exit} | ||
10 | "Installing network filter" | ||
11 | } | ||
12 | expect { | ||
13 | timeout {puts "TESTING ERROR 1\n";exit} | ||
14 | "DROP" | ||
15 | } | ||
16 | expect { | ||
17 | timeout {puts "TESTING ERROR 2\n";exit} | ||
18 | "2001:db8:1f0a:3ec::2" | ||
19 | } | ||
20 | expect { | ||
21 | timeout {puts "TESTING ERROR 3\n";exit} | ||
22 | "Child process initialized" | ||
23 | } | ||
24 | sleep 2 | ||
25 | |||
26 | send -- "/sbin/ifconfig\r" | ||
27 | expect { | ||
28 | timeout {puts "TESTING ERROR 4\n";exit} | ||
29 | "inet6" | ||
30 | } | ||
31 | expect { | ||
32 | timeout {puts "TESTING ERROR 5\n";exit} | ||
33 | "2001:db8:0:f101::1" | ||
34 | } | ||
35 | expect { | ||
36 | timeout {puts "TESTING ERROR 6\n";exit} | ||
37 | "Scope:Global" { puts "Debian\n"} | ||
38 | "scopeid 0x0<global>" { puts "Arch\n"} | ||
39 | } | ||
40 | |||
41 | |||
42 | puts "\nall done\n" | ||
43 | |||