aboutsummaryrefslogtreecommitdiffstats
path: root/test/sysutils/man.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/sysutils/man.exp')
-rwxr-xr-xtest/sysutils/man.exp13
1 files changed, 10 insertions, 3 deletions
diff --git a/test/sysutils/man.exp b/test/sysutils/man.exp
index f4fc5aa2c..0386b2e92 100755
--- a/test/sysutils/man.exp
+++ b/test/sysutils/man.exp
@@ -7,12 +7,19 @@ set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "firejail man firejail\r" 10send -- "rm -f /tmp/t\r"
11after 500
12
13send -- "firejail man firejail > /tmp/t\r"
14sleep 1
15
16send -- "cat /tmp/t\r"
11expect { 17expect {
12 timeout {puts "TESTING ERROR 0\n";exit} 18 timeout {puts "TESTING ERROR 0\n";exit}
13 "(press RETURN)" {puts "TESTING SKIP: terminal is not fully functional - 1.1\n";exit}
14 "Press RETURN to continue" {puts "TESTING SKIP: terminal is not fully functional - 1.2\n";exit}
15 "NAME" 19 "NAME"
16} 20}
17after 100 21after 100
22
23send -- "rm -f /tmp/t\r"
24after 500
18puts "\nall done\n" 25puts "\nall done\n"