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