aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/man.exp
diff options
context:
space:
mode:
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