From 336ecb5d651f22e5a3722ead843181a86dcc066d Mon Sep 17 00:00:00 2001 From: netblue30 Date: Thu, 2 Mar 2023 10:34:03 -0500 Subject: network testing; merges --- test/network/dns-print.exp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/network/dns-print.exp') diff --git a/test/network/dns-print.exp b/test/network/dns-print.exp index 769d5431c..7d3da8ace 100755 --- a/test/network/dns-print.exp +++ b/test/network/dns-print.exp @@ -7,17 +7,17 @@ set timeout 10 spawn $env(SHELL) match_max 100000 -send -- "firejail --name=test-dns --net=eth0 --dns=1.2.3.4 --dns=2.3.4.5 --dns=3.4.5.6\r" +send -- "firejail --name=test --net=br0 --dns=1.2.3.4 --dns=2.3.4.5 --dns=3.4.5.6\r" expect { - timeout {puts "TESTING ERROR 1\n";exit} + timeout {puts "TESTING ERROR 0\n";exit} -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" } sleep 1 spawn $env(SHELL) -send -- "firejail --dns.print=test-dns\r" +send -- "firejail --dns.print=test\r" expect { - timeout {puts "TESTING ERROR 2\n";exit} + timeout {puts "TESTING ERROR 1\n";exit} "nameserver 1.2.3.4" } expect { @@ -25,10 +25,10 @@ expect { "nameserver 2.3.4.5" } expect { - timeout {puts "TESTING ERROR 2\n";exit} + timeout {puts "TESTING ERROR 3\n";exit} "nameserver 3.4.5.6" } -after 100 +after 500 puts "\nall done\n" -- cgit v1.2.3-54-g00ecf