aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/help.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils/help.exp')
-rwxr-xr-xtest/utils/help.exp25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/utils/help.exp b/test/utils/help.exp
new file mode 100755
index 000000000..5b9864578
--- /dev/null
+++ b/test/utils/help.exp
@@ -0,0 +1,25 @@
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 -- "firejail --help\r"
11expect {
12 timeout {puts "TESTING ERROR 0\n";exit}
13 "License GPL version 2 or later"
14}
15after 100
16
17send -- "firejail -?\r"
18expect {
19 timeout {puts "TESTING ERROR 0\n";exit}
20 "License GPL version 2 or later"
21}
22after 100
23
24puts "\n"
25