aboutsummaryrefslogtreecommitdiffstats
path: root/test/network/net_local.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/network/net_local.exp')
-rwxr-xr-xtest/network/net_local.exp49
1 files changed, 0 insertions, 49 deletions
diff --git a/test/network/net_local.exp b/test/network/net_local.exp
deleted file mode 100755
index 117b94212..000000000
--- a/test/network/net_local.exp
+++ /dev/null
@@ -1,49 +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# check ip address
11send -- "firejail --noprofile --debug\r"
12expect {
13 timeout {puts "TESTING ERROR 0\n";exit}
14 "Using the local network stack"
15}
16expect {
17 timeout {puts "TESTING ERROR 4\n";exit}
18 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
19}
20sleep 1
21send -- "exit\r"
22sleep 1
23
24# check loopback
25send -- "firejail --noprofile\r"
26expect {
27 timeout {puts "TESTING ERROR 9\n";exit}
28 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
29}
30sleep 1
31
32
33send -- "/sbin/ifconfig\r"
34expect {
35 timeout {puts "TESTING ERROR 5\n";exit}
36 "lo"
37}
38expect {
39 timeout {puts "TESTING ERROR 6\n";exit}
40 "127.0.0.1"
41}
42expect {
43 timeout {puts "TESTING ERROR 7\n";exit}
44 "255.0.0.0"
45}
46send -- "exit\r"
47after 100
48
49puts "all done\n"