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