aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-07-27 13:44:54 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2017-07-27 13:44:54 -0400
commite41ae04e9f33d758055ee2965d442702667eeee2 (patch)
tree4ab332f20f68922a2394668a74fe16bf95851263 /test
parenttentative fix for arp cahce pollution - #1406 (diff)
downloadfirejail-e41ae04e9f33d758055ee2965d442702667eeee2.tar.gz
firejail-e41ae04e9f33d758055ee2965d442702667eeee2.tar.zst
firejail-e41ae04e9f33d758055ee2965d442702667eeee2.zip
network testing
Diffstat (limited to 'test')
-rwxr-xr-xtest/network/4bridges_ip.exp4
-rwxr-xr-xtest/network/interface.exp8
-rwxr-xr-xtest/network/network.sh3
3 files changed, 2 insertions, 13 deletions
diff --git a/test/network/4bridges_ip.exp b/test/network/4bridges_ip.exp
index 5ecf3ecb8..e7308c106 100755
--- a/test/network/4bridges_ip.exp
+++ b/test/network/4bridges_ip.exp
@@ -164,8 +164,8 @@ expect {
164send -- "ip route show\r" 164send -- "ip route show\r"
165expect { 165expect {
166 timeout {puts "TESTING ERROR 10.4\n";exit} 166 timeout {puts "TESTING ERROR 10.4\n";exit}
167 "10.10.40.0/24 dev eth2 proto kernel scope link src 10.10.40.100" {puts "old iproute2\n";} 167 "10.10.40.0/24 dev eth2 proto kernel scope link src 10.10.40.100" {puts "old iproute2\n";}
168 "10.10.40.0/24 dev eth2 proto kernel scope link src 10.10.40.100" {puts "new iproute2\n";} 168 "10.10.40.0/24 dev eth2 proto kernel scope link src 10.10.40.100" {puts "new iproute2\n";}
169} 169}
170 170
171send -- "ip route show\r" 171send -- "ip route show\r"
diff --git a/test/network/interface.exp b/test/network/interface.exp
index 638e6d32b..f631b805b 100755
--- a/test/network/interface.exp
+++ b/test/network/interface.exp
@@ -35,10 +35,6 @@ expect {
35 timeout {puts "TESTING ERROR 3\n";exit} 35 timeout {puts "TESTING ERROR 3\n";exit}
36 "10.10.205.10" 36 "10.10.205.10"
37} 37}
38expect {
39 timeout {puts "TESTING ERROR 4\n";exit}
40 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1"
41}
42after 100 38after 100
43 39
44send -- "/sbin/ifconfig\r" 40send -- "/sbin/ifconfig\r"
@@ -55,10 +51,6 @@ expect {
55 timeout {puts "TESTING ERROR 7\n";exit} 51 timeout {puts "TESTING ERROR 7\n";exit}
56 "10.10.206.10" 52 "10.10.206.10"
57} 53}
58expect {
59 timeout {puts "TESTING ERROR 8\n";exit}
60 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1"
61}
62after 100 54after 100
63 55
64send -- "exit\r" 56send -- "exit\r"
diff --git a/test/network/network.sh b/test/network/network.sh
index c4c104042..739644c8e 100755
--- a/test/network/network.sh
+++ b/test/network/network.sh
@@ -75,9 +75,6 @@ echo "TESTING: network default gateway test 3 (net_defaultgw3.exp)"
75echo "TESTING: scan (net_scan.exp)" 75echo "TESTING: scan (net_scan.exp)"
76./net_scan.exp 76./net_scan.exp
77 77
78echo "TESTING: mtu (mtu.exp)"
79./mtu.exp
80
81echo "TESTING: interface (interface.exp)" 78echo "TESTING: interface (interface.exp)"
82./interface.exp 79./interface.exp
83 80