aboutsummaryrefslogtreecommitdiffstats
path: root/test/root/unbound.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/root/unbound.exp')
-rwxr-xr-xtest/root/unbound.exp51
1 files changed, 0 insertions, 51 deletions
diff --git a/test/root/unbound.exp b/test/root/unbound.exp
deleted file mode 100755
index d84c07452..000000000
--- a/test/root/unbound.exp
+++ /dev/null
@@ -1,51 +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 5
7spawn $env(SHELL)
8match_max 100000
9
10send -- "firejail --name=unbound unbound\r"
11expect {
12 timeout {puts "TESTING ERROR 0\n";exit}
13 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
14}
15sleep 2
16
17spawn $env(SHELL)
18send -- "firejail --tree\r"
19expect {
20 timeout {puts "TESTING ERROR 2\n";exit}
21 "unbound:unbound"
22}
23sleep 2
24
25send -- "tail /var/log/syslog\r"
26expect {
27 timeout {puts "TESTING ERROR 3\n";exit}
28 "unbound"
29}
30expect {
31 timeout {puts "TESTING ERROR 4\n";exit}
32 "info: start of service"
33}
34sleep 2
35
36send -- "firejail --join=unbound\r"
37sleep 2
38
39send -- "ls /dev\r"
40expect {
41 timeout {puts "TESTING ERROR 5\n";exit}
42 "tty0" {puts "TESTING ERROR 6\n";exit}
43 "ttyS0" {puts "TESTING ERROR 6\n";exit}
44 "audio" {puts "TESTING ERROR 6\n";exit}
45 "ppp" {puts "TESTING ERROR 6\n";exit}
46 "log"
47}
48sleep 2
49
50
51puts "\nall done\n"