aboutsummaryrefslogtreecommitdiffstats
path: root/test/network/net_macvlan2.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-03-02 10:34:03 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2023-03-02 10:34:03 -0500
commit336ecb5d651f22e5a3722ead843181a86dcc066d (patch)
treee733078e8b3ae1c6d0d7e236911c0f12ae556baa /test/network/net_macvlan2.exp
parentgajim: allow loading plugins (#5705) (diff)
downloadfirejail-336ecb5d651f22e5a3722ead843181a86dcc066d.tar.gz
firejail-336ecb5d651f22e5a3722ead843181a86dcc066d.tar.zst
firejail-336ecb5d651f22e5a3722ead843181a86dcc066d.zip
network testing; merges
Diffstat (limited to 'test/network/net_macvlan2.exp')
-rwxr-xr-xtest/network/net_macvlan2.exp42
1 files changed, 0 insertions, 42 deletions
diff --git a/test/network/net_macvlan2.exp b/test/network/net_macvlan2.exp
deleted file mode 100755
index 0fcea53dd..000000000
--- a/test/network/net_macvlan2.exp
+++ /dev/null
@@ -1,42 +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
10send -- "firejail --net=eth0 --net=eth0 --net=eth0 --net=eth0\r"
11expect {
12 timeout {puts "TESTING ERROR 0.1\n";exit}
13 "eth0-"
14}
15expect {
16 timeout {puts "TESTING ERROR 0.2\n";exit}
17 "eth1-"
18}
19expect {
20 timeout {puts "TESTING ERROR 0.3\n";exit}
21 "eth2-"
22}
23expect {
24 timeout {puts "TESTING ERROR 0.4\n";exit}
25 "eth3-"
26}
27expect {
28 timeout {puts "TESTING ERROR 0.5\n";exit}
29 "Default gateway 192.168.1.1"
30}
31expect {
32 timeout {puts "TESTING ERROR 0.6\n";exit}
33 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
34}
35after 100
36send -- "exit\r"
37sleep 1
38
39
40after 100
41
42puts "\nall done\n"