aboutsummaryrefslogtreecommitdiffstats
path: root/test/network/net_ip.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/network/net_ip.exp')
-rwxr-xr-xtest/network/net_ip.exp40
1 files changed, 40 insertions, 0 deletions
diff --git a/test/network/net_ip.exp b/test/network/net_ip.exp
index 251b55362..0cccf93a0 100755
--- a/test/network/net_ip.exp
+++ b/test/network/net_ip.exp
@@ -130,4 +130,44 @@ expect {
130} 130}
131 131
132after 500 132after 500
133
134send -- "firejail --profile=net_ip.profile ip addr show\r"
135expect {
136 timeout {puts "TESTING ERROR 26\n";exit}
137 "eth0"
138}
139expect {
140 timeout {puts "TESTING ERROR 27\n";exit}
141 "00:11:22:33:44:55"
142}
143expect {
144 timeout {puts "TESTING ERROR 28\n";exit}
145 "10.10.20.55"
146}
147expect {
148 timeout {puts "TESTING ERROR 29\n";exit}
149 "Default gateway 10.10.20.9"
150}
151expect {
152 timeout {puts "TESTING ERROR 30\n";exit}
153 "00:11:22:33:44:55"
154}
155expect {
156 timeout {puts "TESTING ERROR 31\n";exit}
157 "10.10.20.55"
158}
159after 500
160
161send -- "firejail --profile=net_ip.profile ip route show\r"
162expect {
163 timeout {puts "TESTING ERROR 32\n";exit}
164 "default via 10.10.20.9"
165}
166expect {
167 timeout {puts "TESTING ERROR 33\n";exit}
168 "10.10.20.0/24 dev eth0 proto kernel scope link src 10.10.20.55"
169}
170after 500
171
172
133puts "\nall done\n" 173puts "\nall done\n"