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