aboutsummaryrefslogtreecommitdiffstats
path: root/test/network/firemon-arp.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/network/firemon-arp.exp')
-rwxr-xr-xtest/network/firemon-arp.exp53
1 files changed, 0 insertions, 53 deletions
diff --git a/test/network/firemon-arp.exp b/test/network/firemon-arp.exp
deleted file mode 100755
index 858c4a729..000000000
--- a/test/network/firemon-arp.exp
+++ /dev/null
@@ -1,53 +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
6set timeout 10
7spawn $env(SHELL)
8match_max 100000
9
10#send -- "ping -c 3 192.168.1.1\r"
11#expect {
12# timeout {puts "TESTING ERROR 0\n";exit}
13# "3 packets transmitted"
14#}
15#sleep 1
16
17send -- "firejail --name=test1\r"
18expect {
19 timeout {puts "TESTING ERROR 1\n";exit}
20 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
21}
22sleep 1
23
24spawn $env(SHELL)
25send -- "firejail --name=test2\r"
26expect {
27 timeout {puts "TESTING ERROR 2\n";exit}
28 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
29}
30sleep 1
31
32spawn $env(SHELL)
33send -- "firemon --arp\r"
34expect {
35 timeout {puts "TESTING ERROR 3\n";exit}
36 "name=test1"
37}
38expect {
39 timeout {puts "TESTING ERROR 4\n";exit}
40 "192.168.1.1 dev eth0 lladdr" {puts "Debian testing\n";}
41 "192.168.1.1 dev enp0s3 lladdr" {puts "Centos 7 testing\n";}
42}
43expect {
44 timeout {puts "TESTING ERROR 5\n";exit}
45 "REACHABLE"
46}
47expect {
48 timeout {puts "TESTING ERROR 6\n";exit}
49 "name=test2"
50}
51after 100
52
53puts "\nall done\n"