aboutsummaryrefslogtreecommitdiffstats
path: root/test/firejail-in-firejail2.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-12-17 12:35:15 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2015-12-17 12:35:15 -0500
commit811af13d5120e85d1e0cb2cbc9ea0b60c0350af7 (patch)
treefc929d93a2852c18e20bcc938e5cdebef1f1af71 /test/firejail-in-firejail2.exp
parenttesting (diff)
downloadfirejail-811af13d5120e85d1e0cb2cbc9ea0b60c0350af7.tar.gz
firejail-811af13d5120e85d1e0cb2cbc9ea0b60c0350af7.tar.zst
firejail-811af13d5120e85d1e0cb2cbc9ea0b60c0350af7.zip
added --force option
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"