aboutsummaryrefslogtreecommitdiffstats
path: root/test/environment/quiet.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/environment/quiet.exp')
-rwxr-xr-xtest/environment/quiet.exp21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/environment/quiet.exp b/test/environment/quiet.exp
new file mode 100755
index 000000000..38da4673e
--- /dev/null
+++ b/test/environment/quiet.exp
@@ -0,0 +1,21 @@
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 4
7spawn $env(SHELL)
8match_max 100000
9
10# check ip address
11send -- "firejail --quiet echo done\r"
12expect {
13 timeout {puts "TESTING ERROR 1\n";exit}
14 "Reading profile" {puts "TESTING ERROR 2\n";exit}
15 "Child process initialized" {puts "TESTING ERROR 3\n";exit}
16 "done"
17}
18sleep 1
19
20puts "\nall done\n"
21