aboutsummaryrefslogtreecommitdiffstats
path: root/test/sysutils/man.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/sysutils/man.exp')
-rwxr-xr-xtest/sysutils/man.exp20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/sysutils/man.exp b/test/sysutils/man.exp
new file mode 100755
index 000000000..6e0fb5584
--- /dev/null
+++ b/test/sysutils/man.exp
@@ -0,0 +1,20 @@
1#!/usr/bin/expect -f
2# This file is part of Firejail project
3# Copyright (C) 2014-2022 Firejail Authors
4# License GPL v2
5
6set timeout 10
7spawn $env(SHELL)
8match_max 100000
9
10send -- "firejail man ls\r"
11expect {
12 timeout {puts "TESTING ERROR 0\n";exit}
13 "NAME"
14}
15expect {
16 timeout {puts "TESTING ERROR 0\n";exit}
17 "SYNOPSIS"
18}
19after 100
20puts "\nall done\n"