aboutsummaryrefslogtreecommitdiffstats
path: root/test/network/netstats.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/netstats.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/netstats.exp')
-rwxr-xr-xtest/network/netstats.exp38
1 files changed, 0 insertions, 38 deletions
diff --git a/test/network/netstats.exp b/test/network/netstats.exp
deleted file mode 100755
index a41acac68..000000000
--- a/test/network/netstats.exp
+++ /dev/null
@@ -1,38 +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 --name=test1\r"
11expect {
12 timeout {puts "TESTING ERROR 9\n";exit}
13 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
14}
15sleep 1
16
17spawn $env(SHELL)
18send -- "firejail --net=eth0 --name=test2\r"
19expect {
20 timeout {puts "TESTING ERROR 9\n";exit}
21 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
22}
23sleep 1
24
25spawn $env(SHELL)
26send -- "firejail --netstats\r"
27sleep 4
28expect {
29 timeout {puts "TESTING ERROR 9\n";exit}
30 "name=test1"
31}
32expect {
33 timeout {puts "TESTING ERROR 9\n";exit}
34 "name=test2"
35}
36after 100
37
38puts "\n"