From 4b760f4f3d3bb82ec054bc4479cc5829298ea3e5 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Wed, 8 Mar 2023 06:53:22 -0500 Subject: add ipv6 support in --net.print --- test/network/netstats.exp | 13 ++++++------- test/network/network.sh | 5 ++--- 2 files changed, 8 insertions(+), 10 deletions(-) (limited to 'test/network') diff --git a/test/network/netstats.exp b/test/network/netstats.exp index a8b28bed8..0d1bc4c2c 100755 --- a/test/network/netstats.exp +++ b/test/network/netstats.exp @@ -20,12 +20,11 @@ expect { timeout {puts "TESTING ERROR 2\n";exit} "statistics only for sandboxes using a new network namespace" } -# not supported on github workflows - not a tty! -#expect { -# timeout {puts "TESTING ERROR 3\n";exit} -# "firejail --name=test --net=br0" -#} -#after 500 -#send -- "\r" +sleep 4 + +expect { + timeout {puts "TESTING ERROR 3\n";exit} + "firejail --name=test --net=br0" +} after 500 puts "\nall done\n" diff --git a/test/network/network.sh b/test/network/network.sh index 5e320cc2f..dad1ed42d 100755 --- a/test/network/network.sh +++ b/test/network/network.sh @@ -42,9 +42,8 @@ echo "TESTING: ipv6 (ip6.exp)" echo "TESTING: ipv6 netfilter (ip6_netfilter.exp)" ./ip6_netfilter.exp -# not supported on github workflows - not a tty! -#echo "TESTING: netstats (netstats.exp)" -#./netstats.exp +echo "TESTING: netstats (netstats.exp)" +./netstats.exp echo "TESTING: firemon arp (firemon-arp.exp)" ./firemon-arp.exp -- cgit v1.2.3-54-g00ecf