aboutsummaryrefslogtreecommitdiffstats
path: root/test/network/netns.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/network/netns.exp')
-rwxr-xr-xtest/network/netns.exp34
1 files changed, 0 insertions, 34 deletions
diff --git a/test/network/netns.exp b/test/network/netns.exp
deleted file mode 100755
index 048dbfa93..000000000
--- a/test/network/netns.exp
+++ /dev/null
@@ -1,34 +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 --netns=red --noprofile\r"
11expect {
12 timeout {puts "TESTING ERROR 1\n";exit}
13 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
14}
15after 100
16
17send -- "ip link show\r"
18expect {
19 timeout {puts "TESTING ERROR 2\n";exit}
20 "LOOPBACK"
21}
22expect {
23 timeout {puts "TESTING ERROR 3\n";exit}
24 "DOWN"
25}
26expect {
27 timeout {puts "TESTING ERROR 4\n";exit}
28 "link/loopback"
29}
30after 100
31send -- "exit\r"
32after 100
33
34puts "all done\n"