diff options
author | netblue30 <netblue30@yahoo.com> | 2016-04-23 08:53:07 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-04-23 08:53:07 -0400 |
commit | 2905b9f9ab5c5ed6f9210d1d843a8bcf41451854 (patch) | |
tree | d3bb968dbcb9f22856de345d0df5ecf2a44d594f /test/utils/man.exp | |
parent | quiterss profile (diff) | |
download | firejail-2905b9f9ab5c5ed6f9210d1d843a8bcf41451854.tar.gz firejail-2905b9f9ab5c5ed6f9210d1d843a8bcf41451854.tar.zst firejail-2905b9f9ab5c5ed6f9210d1d843a8bcf41451854.zip |
make test-utils
Diffstat (limited to 'test/utils/man.exp')
-rwxr-xr-x | test/utils/man.exp | 20 |
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 | |||
6 | set timeout 10 | ||
7 | spawn $env(SHELL) | ||
8 | match_max 100000 | ||
9 | |||
10 | send -- "man firejail\r" | ||
11 | expect { | ||
12 | timeout {puts "TESTING ERROR 0\n";exit} | ||
13 | "Linux namespaces sandbox program" | ||
14 | } | ||
15 | after 100 | ||
16 | |||
17 | send -- "q\r" | ||
18 | after 100 | ||
19 | puts "\n" | ||
20 | |||