diff options
author | 2023-03-02 08:19:41 -0500 | |
---|---|---|
committer | 2023-03-02 08:19:41 -0500 | |
commit | 91235785e06ac890514fd51fa44aa14e7c2e108e (patch) | |
tree | 5834f92126a508af41f65a0bf4fba96e46ccbd17 /test/network/net_mac.exp | |
parent | appimage testing (diff) | |
download | firejail-91235785e06ac890514fd51fa44aa14e7c2e108e.tar.gz firejail-91235785e06ac890514fd51fa44aa14e7c2e108e.tar.zst firejail-91235785e06ac890514fd51fa44aa14e7c2e108e.zip |
network testing
Diffstat (limited to 'test/network/net_mac.exp')
-rwxr-xr-x | test/network/net_mac.exp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/network/net_mac.exp b/test/network/net_mac.exp index 086efd02c..481e452af 100755 --- a/test/network/net_mac.exp +++ b/test/network/net_mac.exp | |||
@@ -8,7 +8,7 @@ spawn $env(SHELL) | |||
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
10 | # check ip address | 10 | # check ip address |
11 | send -- "firejail --net=br0 --ip=10.10.20.5 --mac=00:11:22:33:44:55\r" | 11 | send -- "firejail --net=br0 --ip=10.10.20.5 --mac=00:11:22:33:44:55 cat /proc/1/net/dev\r" |
12 | expect { | 12 | expect { |
13 | timeout {puts "TESTING ERROR 0\n";exit} | 13 | timeout {puts "TESTING ERROR 0\n";exit} |
14 | "eth0" | 14 | "eth0" |
@@ -23,7 +23,7 @@ expect { | |||
23 | } | 23 | } |
24 | expect { | 24 | expect { |
25 | timeout {puts "TESTING ERROR 2\n";exit} | 25 | timeout {puts "TESTING ERROR 2\n";exit} |
26 | "255.255.255.248" | 26 | "255.255.255.0" |
27 | } | 27 | } |
28 | expect { | 28 | expect { |
29 | timeout {puts "TESTING ERROR 3\n";exit} | 29 | timeout {puts "TESTING ERROR 3\n";exit} |
@@ -33,7 +33,6 @@ expect { | |||
33 | timeout {puts "TESTING ERROR 4\n";exit} | 33 | timeout {puts "TESTING ERROR 4\n";exit} |
34 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" | 34 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" |
35 | } | 35 | } |
36 | send -- "exit\r" | ||
37 | after 100 | 36 | after 100 |
38 | 37 | ||
39 | puts "\nall done\n" | 38 | puts "\nall done\n" |