diff options
author | netblue30 <netblue30@yahoo.com> | 2016-11-09 19:17:06 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-11-09 19:17:06 -0500 |
commit | 35004af7d8f6ff19908fb89e25e532113afa26f4 (patch) | |
tree | 991c7c279e0629e3de36a1d9453ab2513a38be1d /test/firemon-arp.exp | |
parent | bugfix: crashing vlc when pressing Ctrl-O (diff) | |
download | firejail-35004af7d8f6ff19908fb89e25e532113afa26f4.tar.gz firejail-35004af7d8f6ff19908fb89e25e532113afa26f4.tar.zst firejail-35004af7d8f6ff19908fb89e25e532113afa26f4.zip |
testing
Diffstat (limited to 'test/firemon-arp.exp')
-rwxr-xr-x | test/firemon-arp.exp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/test/firemon-arp.exp b/test/firemon-arp.exp deleted file mode 100755 index 3fc8c2aee..000000000 --- a/test/firemon-arp.exp +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | send -- "ping -c 3 192.168.1.1\r" | ||
8 | expect { | ||
9 | timeout {puts "TESTING ERROR 0\n";exit} | ||
10 | "3 packets transmitted" | ||
11 | } | ||
12 | sleep 1 | ||
13 | |||
14 | send -- "firejail\r" | ||
15 | expect { | ||
16 | timeout {puts "TESTING ERROR 1\n";exit} | ||
17 | "Child process initialized" | ||
18 | } | ||
19 | sleep 1 | ||
20 | |||
21 | spawn $env(SHELL) | ||
22 | send -- "firemon --arp\r" | ||
23 | expect { | ||
24 | timeout {puts "TESTING ERROR 2\n";exit} | ||
25 | "192.168.1.1 dev eth0 lladdr" {puts "Debian testing\n";} | ||
26 | "192.168.1.1 dev enp0s3 lladdr" {puts "Centos 7 testing\n";} | ||
27 | } | ||
28 | expect { | ||
29 | timeout {puts "TESTING ERROR 3\n";exit} | ||
30 | "REACHABLE" | ||
31 | } | ||
32 | sleep 1 | ||
33 | |||
34 | puts "\n" | ||