aboutsummaryrefslogtreecommitdiffstats
path: root/test/profiles/profile_recursivity.exp
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2018-11-10 15:07:12 +0100
committerLibravatar smitsohu <smitsohu@gmail.com>2018-11-10 15:07:12 +0100
commit8f707a5f23e193f411930421ef2555282404c775 (patch)
tree9a69739b655eba1c6940f75611242bcbf7e93b91 /test/profiles/profile_recursivity.exp
parentunreadable firejail.users database fixes (diff)
parentMerge pull request #2253 from crass/fix-appimage-double-dash-handling (diff)
downloadfirejail-8f707a5f23e193f411930421ef2555282404c775.tar.gz
firejail-8f707a5f23e193f411930421ef2555282404c775.tar.zst
firejail-8f707a5f23e193f411930421ef2555282404c775.zip
Merge branch 'master' of https://github.com/netblue30/firejail
Diffstat (limited to 'test/profiles/profile_recursivity.exp')
-rwxr-xr-xtest/profiles/profile_recursivity.exp25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/profiles/profile_recursivity.exp b/test/profiles/profile_recursivity.exp
new file mode 100755
index 000000000..66e4510bf
--- /dev/null
+++ b/test/profiles/profile_recursivity.exp
@@ -0,0 +1,25 @@
1#!/usr/bin/expect -f
2# This file is part of Firejail project
3# Copyright (C) 2014-2018 Firejail Authors
4# License GPL v2
5
6set timeout 10
7spawn $env(SHELL)
8match_max 100000
9
10send -- "firejail --profile=test3.profile\r"
11expect {
12 timeout {puts "TESTING ERROR 0\n";exit}
13 "Reading profile test3.profile"
14}
15expect {
16 timeout {puts "TESTING ERROR 1\n";exit}
17 "Reading profile test3.profile"
18}
19expect {
20 timeout {puts "TESTING ERROR 2\n";exit}
21 "maximum profile include level was reached"
22}
23
24after 100
25puts "\nall done\n"