aboutsummaryrefslogtreecommitdiffstats
path: root/test/sysutils/less.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-02-24 20:37:35 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2023-02-24 20:37:35 -0500
commit2531759b80fbfcfbe296bd4bab329c61b7757c92 (patch)
treecc428443a3dbf5578882100ac45a9f6239fb430d /test/sysutils/less.exp
parentNew profiles: qpdf and redirects (#5675) (diff)
downloadfirejail-2531759b80fbfcfbe296bd4bab329c61b7757c92.tar.gz
firejail-2531759b80fbfcfbe296bd4bab329c61b7757c92.tar.zst
firejail-2531759b80fbfcfbe296bd4bab329c61b7757c92.zip
more private-etc
Diffstat (limited to 'test/sysutils/less.exp')
-rwxr-xr-xtest/sysutils/less.exp20
1 files changed, 11 insertions, 9 deletions
diff --git a/test/sysutils/less.exp b/test/sysutils/less.exp
index 9e19af83a..182e259e1 100755
--- a/test/sysutils/less.exp
+++ b/test/sysutils/less.exp
@@ -7,17 +7,19 @@ set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "firejail less sysutils.sh\r" 10send -- "rm -f /tmp/tt\r"
11after 500
12
13send -- "firejail less sysutils.sh > /tmp/t\r"
14sleep 1
15
16send -- "cat /tmp/t | grep Authors\r"
11expect { 17expect {
12 timeout {puts "TESTING ERROR 1\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 "Firejail Authors" 19 "Firejail Authors"
16} 20}
17expect {
18 timeout {puts "TESTING ERROR 2\n";exit}
19 "MALLOC_CHECK"
20}
21
22after 100 21after 100
22
23send -- "rm -f /tmp/t\r"
24after 500
23puts "\nall done\n" 25puts "\nall done\n"