aboutsummaryrefslogtreecommitdiffstats
path: root/test/network/net_ip.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-03-02 10:34:03 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2023-03-02 10:34:03 -0500
commit336ecb5d651f22e5a3722ead843181a86dcc066d (patch)
treee733078e8b3ae1c6d0d7e236911c0f12ae556baa /test/network/net_ip.exp
parentgajim: allow loading plugins (#5705) (diff)
downloadfirejail-336ecb5d651f22e5a3722ead843181a86dcc066d.tar.gz
firejail-336ecb5d651f22e5a3722ead843181a86dcc066d.tar.zst
firejail-336ecb5d651f22e5a3722ead843181a86dcc066d.zip
network testing; merges
Diffstat (limited to 'test/network/net_ip.exp')
-rwxr-xr-xtest/network/net_ip.exp36
1 files changed, 34 insertions, 2 deletions
diff --git a/test/network/net_ip.exp b/test/network/net_ip.exp
index 304b71814..251b55362 100755
--- a/test/network/net_ip.exp
+++ b/test/network/net_ip.exp
@@ -94,8 +94,40 @@ expect {
94} 94}
95after 500 95after 500
96 96
97send -- "firejail --noprofile --net=br0 --ip=none ip addr show\r"
98expect {
99 timeout {puts "TESTING ERROR 17\n";exit}
100 "eth0" {puts "TESTING ERROR 18\n";exit}
101 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
102}
103expect {
104 timeout {puts "TESTING ERROR 19\n";exit}
105 "eth0"
106}
107expect {
108 timeout {puts "TESTING ERROR 20\n";exit}
109 "inet " {puts "TESTING ERROR 21\n";exit}
110 "inet6"
111}
112after 500
97 113
114send -- "firejail --net=br0 --mtu=1000 --noprofile ip link show\r"
115expect {
116 timeout {puts "TESTING ERROR 22\n";exit}
117 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
118}
119expect {
120 timeout {puts "TESTING ERROR 23\n";exit}
121 "eth0"
122}
123expect {
124 timeout {puts "TESTING ERROR 24\n";exit}
125 "mtu 1000"
126}
127expect {
128 timeout {puts "TESTING ERROR 25\n";exit}
129 "state UP"
130}
98 131
99 132after 500
100after 100
101puts "\nall done\n" 133puts "\nall done\n"