aboutsummaryrefslogtreecommitdiffstats
path: root/test/firejail-in-firejail2.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/firejail-in-firejail2.exp')
-rwxr-xr-xtest/firejail-in-firejail2.exp21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/firejail-in-firejail2.exp b/test/firejail-in-firejail2.exp
new file mode 100755
index 000000000..b0fed0dae
--- /dev/null
+++ b/test/firejail-in-firejail2.exp
@@ -0,0 +1,21 @@
1#!/usr/bin/expect -f
2
3set timeout 10
4spawn $env(SHELL)
5match_max 100000
6
7send -- "firejail --noprofile\r"
8expect {
9 timeout {puts "TESTING ERROR 1\n";exit}
10 "Child process initialized"
11}
12sleep 1
13
14send -- "firejail --force\r"
15expect {
16 timeout {puts "TESTING ERROR 1\n";exit}
17 "Child process initialized"
18}
19sleep 1
20
21puts "\nall done\n"