diff options
author | netblue30 <netblue30@protonmail.com> | 2023-03-02 10:34:03 -0500 |
---|---|---|
committer | netblue30 <netblue30@protonmail.com> | 2023-03-02 10:34:03 -0500 |
commit | 336ecb5d651f22e5a3722ead843181a86dcc066d (patch) | |
tree | e733078e8b3ae1c6d0d7e236911c0f12ae556baa /test/network/firemon-interfaces.exp | |
parent | gajim: allow loading plugins (#5705) (diff) | |
download | firejail-336ecb5d651f22e5a3722ead843181a86dcc066d.tar.gz firejail-336ecb5d651f22e5a3722ead843181a86dcc066d.tar.zst firejail-336ecb5d651f22e5a3722ead843181a86dcc066d.zip |
network testing; merges
Diffstat (limited to 'test/network/firemon-interfaces.exp')
-rwxr-xr-x | test/network/firemon-interfaces.exp | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/test/network/firemon-interfaces.exp b/test/network/firemon-interfaces.exp deleted file mode 100755 index 47e540cc5..000000000 --- a/test/network/firemon-interfaces.exp +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2023 Firejail Authors | ||
4 | # License GPL v2 | ||
5 | |||
6 | set timeout 10 | ||
7 | spawn $env(SHELL) | ||
8 | match_max 100000 | ||
9 | |||
10 | send -- "firejail --net=eth0 --name=test1\r" | ||
11 | expect { | ||
12 | timeout {puts "TESTING ERROR 9\n";exit} | ||
13 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" | ||
14 | } | ||
15 | sleep 1 | ||
16 | |||
17 | spawn $env(SHELL) | ||
18 | send -- "firejail --net=eth0 --name=test2\r" | ||
19 | expect { | ||
20 | timeout {puts "TESTING ERROR 9\n";exit} | ||
21 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" | ||
22 | } | ||
23 | sleep 1 | ||
24 | |||
25 | spawn $env(SHELL) | ||
26 | send -- "firemon --interface\r" | ||
27 | expect { | ||
28 | timeout {puts "TESTING ERROR 9\n";exit} | ||
29 | "Link status" | ||
30 | } | ||
31 | expect { | ||
32 | timeout {puts "TESTING ERROR 9\n";exit} | ||
33 | "lo UP" | ||
34 | } | ||
35 | expect { | ||
36 | timeout {puts "TESTING ERROR 9\n";exit} | ||
37 | "eth0-" | ||
38 | } | ||
39 | expect { | ||
40 | timeout {puts "TESTING ERROR 9\n";exit} | ||
41 | "IPv4 status" | ||
42 | } | ||
43 | expect { | ||
44 | timeout {puts "TESTING ERROR 9\n";exit} | ||
45 | "lo UP" | ||
46 | } | ||
47 | expect { | ||
48 | timeout {puts "TESTING ERROR 9\n";exit} | ||
49 | "eth0-" | ||
50 | } | ||
51 | expect { | ||
52 | timeout {puts "TESTING ERROR 9\n";exit} | ||
53 | "IPv6 status" | ||
54 | } | ||
55 | expect { | ||
56 | timeout {puts "TESTING ERROR 9\n";exit} | ||
57 | "lo UP" | ||
58 | } | ||
59 | expect { | ||
60 | timeout {puts "TESTING ERROR 9\n";exit} | ||
61 | "eth0-" | ||
62 | } | ||
63 | |||
64 | after 100 | ||
65 | |||
66 | puts "\n" | ||