diff options
Diffstat (limited to 'test/network/firemon-interface.exp')
-rwxr-xr-x | test/network/firemon-interface.exp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/test/network/firemon-interface.exp b/test/network/firemon-interface.exp deleted file mode 100755 index 6ae57ac6a..000000000 --- a/test/network/firemon-interface.exp +++ /dev/null | |||
@@ -1,28 +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 --name=test --net=br0 --ip=10.10.20.50\r" | ||
11 | expect { | ||
12 | timeout {puts "TESTING ERROR 1\n";exit} | ||
13 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" | ||
14 | } | ||
15 | sleep 2 | ||
16 | |||
17 | spawn $env(SHELL) | ||
18 | send -- "firemon --interface\r" | ||
19 | expect { | ||
20 | timeout {puts "TESTING ERROR 2\n";exit} | ||
21 | "firejail --name=test --net=br0 --ip=10.10.20.50" | ||
22 | } | ||
23 | expect { | ||
24 | timeout {puts "TESTING ERROR 3\n";exit} | ||
25 | "eth0 UP, 10.10.20.50/24" | ||
26 | } | ||
27 | sleep 2 | ||
28 | puts "\nall done\n" | ||