aboutsummaryrefslogtreecommitdiffstats
path: root/test/network/net_netfilter.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-03-07 09:50:22 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2023-03-07 09:50:22 -0500
commit51f25677e6c9281b306f9720874fddf7565f4f79 (patch)
tree139844b719e48d35ba8eeac8488df9048ccf9924 /test/network/net_netfilter.exp
parenttesting (diff)
downloadfirejail-51f25677e6c9281b306f9720874fddf7565f4f79.tar.gz
firejail-51f25677e6c9281b306f9720874fddf7565f4f79.tar.zst
firejail-51f25677e6c9281b306f9720874fddf7565f4f79.zip
remove DNS lookup for --netfilter.print and --netfilter6.print commands
Diffstat (limited to 'test/network/net_netfilter.exp')
-rwxr-xr-xtest/network/net_netfilter.exp22
1 files changed, 21 insertions, 1 deletions
diff --git a/test/network/net_netfilter.exp b/test/network/net_netfilter.exp
index 56480251e..ac144e19d 100755
--- a/test/network/net_netfilter.exp
+++ b/test/network/net_netfilter.exp
@@ -20,7 +20,27 @@ spawn $env(SHELL)
20send -- "firejail --netfilter.print=test\r" 20send -- "firejail --netfilter.print=test\r"
21expect { 21expect {
22 timeout {puts "TESTING ERROR 1\n";exit} 22 timeout {puts "TESTING ERROR 1\n";exit}
23 "ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED" 23 "ACCEPT"
24}
25expect {
26 timeout {puts "TESTING ERROR 1\n";exit}
27 "lo"
28}
29expect {
30 timeout {puts "TESTING ERROR 1\n";exit}
31 "ACCEPT"
32}
33expect {
34 timeout {puts "TESTING ERROR 1\n";exit}
35 "state RELATED,ESTABLISHED"
36}
37expect {
38 timeout {puts "TESTING ERROR 1\n";exit}
39 "ACCEPT"
40}
41expect {
42 timeout {puts "TESTING ERROR 1\n";exit}
43 "icmptype 8"
24} 44}
25 45
26after 500 46after 500