aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/caps-print.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-03-08 17:09:17 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2023-03-08 17:09:17 -0500
commitaa0194eae75871f3fb5e15d31a9060527711adae (patch)
treebb535822c1469d4a1d6a736b7b58616b37d19d7d /test/utils/caps-print.exp
parenttesting (diff)
downloadfirejail-aa0194eae75871f3fb5e15d31a9060527711adae.tar.gz
firejail-aa0194eae75871f3fb5e15d31a9060527711adae.tar.zst
firejail-aa0194eae75871f3fb5e15d31a9060527711adae.zip
testing
Diffstat (limited to 'test/utils/caps-print.exp')
-rwxr-xr-xtest/utils/caps-print.exp32
1 files changed, 0 insertions, 32 deletions
diff --git a/test/utils/caps-print.exp b/test/utils/caps-print.exp
deleted file mode 100755
index 381f27574..000000000
--- a/test/utils/caps-print.exp
+++ /dev/null
@@ -1,32 +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 --name=test\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 --caps.print=test\r"
19expect {
20 timeout {puts "TESTING ERROR 1\n";exit}
21 "setgid - disabled"
22}
23expect {
24 timeout {puts "TESTING ERROR 2\n";exit}
25 "setuid - disabled"
26}
27expect {
28 timeout {puts "TESTING ERROR 3\n";exit}
29 "net_raw - disabled"
30}
31after 100
32puts "\nall done\n"