diff options
author | 2023-01-19 00:17:47 -0500 | |
---|---|---|
committer | 2023-01-19 00:17:47 -0500 | |
commit | 17189823335d670388e71e25db8d5bec828806c2 (patch) | |
tree | 90927ef643dd414ef84a858a91f5cc71f0e60b14 /test/sysutils/man.exp | |
parent | Merge branch 'master' of ssh://github.com/netblue30/firejail (diff) | |
download | firejail-17189823335d670388e71e25db8d5bec828806c2.tar.gz firejail-17189823335d670388e71e25db8d5bec828806c2.tar.zst firejail-17189823335d670388e71e25db8d5bec828806c2.zip |
more profile fixes/testing
Diffstat (limited to 'test/sysutils/man.exp')
-rwxr-xr-x | test/sysutils/man.exp | 20 |
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 | |||
6 | set timeout 10 | ||
7 | spawn $env(SHELL) | ||
8 | match_max 100000 | ||
9 | |||
10 | send -- "firejail man ls\r" | ||
11 | expect { | ||
12 | timeout {puts "TESTING ERROR 0\n";exit} | ||
13 | "NAME" | ||
14 | } | ||
15 | expect { | ||
16 | timeout {puts "TESTING ERROR 0\n";exit} | ||
17 | "SYNOPSIS" | ||
18 | } | ||
19 | after 100 | ||
20 | puts "\nall done\n" | ||