aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/man.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-04-23 08:53:07 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-04-23 08:53:07 -0400
commit2905b9f9ab5c5ed6f9210d1d843a8bcf41451854 (patch)
treed3bb968dbcb9f22856de345d0df5ecf2a44d594f /test/utils/man.exp
parentquiterss profile (diff)
downloadfirejail-2905b9f9ab5c5ed6f9210d1d843a8bcf41451854.tar.gz
firejail-2905b9f9ab5c5ed6f9210d1d843a8bcf41451854.tar.zst
firejail-2905b9f9ab5c5ed6f9210d1d843a8bcf41451854.zip
make test-utils
Diffstat (limited to 'test/utils/man.exp')
-rwxr-xr-xtest/utils/man.exp20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/utils/man.exp b/test/utils/man.exp
new file mode 100755
index 000000000..d29f760b0
--- /dev/null
+++ b/test/utils/man.exp
@@ -0,0 +1,20 @@
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 -- "man firejail\r"
11expect {
12 timeout {puts "TESTING ERROR 0\n";exit}
13 "Linux namespaces sandbox program"
14}
15after 100
16
17send -- "q\r"
18after 100
19puts "\n"
20