From 51f25677e6c9281b306f9720874fddf7565f4f79 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Tue, 7 Mar 2023 09:50:22 -0500 Subject: remove DNS lookup for --netfilter.print and --netfilter6.print commands --- test/network/net_netfilter.exp | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'test/network/net_netfilter.exp') 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) send -- "firejail --netfilter.print=test\r" expect { timeout {puts "TESTING ERROR 1\n";exit} - "ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED" + "ACCEPT" +} +expect { + timeout {puts "TESTING ERROR 1\n";exit} + "lo" +} +expect { + timeout {puts "TESTING ERROR 1\n";exit} + "ACCEPT" +} +expect { + timeout {puts "TESTING ERROR 1\n";exit} + "state RELATED,ESTABLISHED" +} +expect { + timeout {puts "TESTING ERROR 1\n";exit} + "ACCEPT" +} +expect { + timeout {puts "TESTING ERROR 1\n";exit} + "icmptype 8" } after 500 -- cgit v1.2.3-54-g00ecf