diff options
Diffstat (limited to 'test/option_version.exp')
-rwxr-xr-x | test/option_version.exp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/option_version.exp b/test/option_version.exp new file mode 100755 index 000000000..44c0c217f --- /dev/null +++ b/test/option_version.exp | |||
@@ -0,0 +1,15 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | send -- "firejail --version\r" | ||
8 | expect { | ||
9 | timeout {puts "TESTING ERROR 0\n";exit} | ||
10 | "firejail version " | ||
11 | } | ||
12 | after 100 | ||
13 | |||
14 | puts "\n" | ||
15 | |||