diff options
Diffstat (limited to 'test/net_netfilter.exp')
-rwxr-xr-x | test/net_netfilter.exp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/net_netfilter.exp b/test/net_netfilter.exp index 8583d4625..989fcc407 100755 --- a/test/net_netfilter.exp +++ b/test/net_netfilter.exp | |||
@@ -5,7 +5,7 @@ spawn $env(SHELL) | |||
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | # check default netfilter on br0 | 7 | # check default netfilter on br0 |
8 | send -- "firejail --debug --net=br0 --ip=10.10.20.5 --netfilter\r" | 8 | send -- "firejail --debug --noprofile --net=br0 --ip=10.10.20.5 --netfilter\r" |
9 | expect { | 9 | expect { |
10 | timeout {puts "TESTING ERROR 0\n";exit} | 10 | timeout {puts "TESTING ERROR 0\n";exit} |
11 | "Installing network filter" | 11 | "Installing network filter" |
@@ -31,7 +31,7 @@ send -- "exit\r" | |||
31 | sleep 1 | 31 | sleep 1 |
32 | 32 | ||
33 | # check default netfilter no new network | 33 | # check default netfilter no new network |
34 | send -- "firejail --debug --netfilter\r" | 34 | send -- "firejail --debug --noprofile --netfilter\r" |
35 | expect { | 35 | expect { |
36 | timeout {puts "TESTING ERROR 5\n";exit} | 36 | timeout {puts "TESTING ERROR 5\n";exit} |
37 | "Installing network filter" {puts "TESTING ERROR 5.1\n";exit} | 37 | "Installing network filter" {puts "TESTING ERROR 5.1\n";exit} |
@@ -45,7 +45,7 @@ send -- "exit\r" | |||
45 | sleep 1 | 45 | sleep 1 |
46 | 46 | ||
47 | # check file filter netfilter on br0 | 47 | # check file filter netfilter on br0 |
48 | send -- "firejail --debug --net=br0 --ip=10.10.20.5 --netfilter=netfilter.filter\r" | 48 | send -- "firejail --debug --noprofile --net=br0 --ip=10.10.20.5 --netfilter=netfilter.filter\r" |
49 | expect { | 49 | expect { |
50 | timeout {puts "TESTING ERROR 6\n";exit} | 50 | timeout {puts "TESTING ERROR 6\n";exit} |
51 | "Installing network filter" | 51 | "Installing network filter" |
@@ -82,7 +82,7 @@ expect { | |||
82 | } | 82 | } |
83 | 83 | ||
84 | send -- "exit\r" | 84 | send -- "exit\r" |
85 | sleep 1 | 85 | after 100 |
86 | 86 | ||
87 | puts "\n" | 87 | puts "all done\n" |
88 | 88 | ||