aboutsummaryrefslogtreecommitdiffstats
path: root/test/option_help.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/option_help.exp')
-rwxr-xr-xtest/option_help.exp22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/option_help.exp b/test/option_help.exp
new file mode 100755
index 000000000..f4518219c
--- /dev/null
+++ b/test/option_help.exp
@@ -0,0 +1,22 @@
1#!/usr/bin/expect -f
2
3set timeout 10
4spawn $env(SHELL)
5match_max 100000
6
7send -- "firejail --help\r"
8expect {
9 timeout {puts "TESTING ERROR 0\n";exit}
10 "License GPL version 2 or later"
11}
12after 100
13
14send -- "firejail -?\r"
15expect {
16 timeout {puts "TESTING ERROR 0\n";exit}
17 "License GPL version 2 or later"
18}
19after 100
20
21puts "\n"
22