diff options
author | 2023-02-24 20:37:35 -0500 | |
---|---|---|
committer | 2023-02-24 20:37:35 -0500 | |
commit | 2531759b80fbfcfbe296bd4bab329c61b7757c92 (patch) | |
tree | cc428443a3dbf5578882100ac45a9f6239fb430d /test/sysutils/less.exp | |
parent | New profiles: qpdf and redirects (#5675) (diff) | |
download | firejail-2531759b80fbfcfbe296bd4bab329c61b7757c92.tar.gz firejail-2531759b80fbfcfbe296bd4bab329c61b7757c92.tar.zst firejail-2531759b80fbfcfbe296bd4bab329c61b7757c92.zip |
more private-etc
Diffstat (limited to 'test/sysutils/less.exp')
-rwxr-xr-x | test/sysutils/less.exp | 20 |
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 | |||
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
10 | send -- "firejail less sysutils.sh\r" | 10 | send -- "rm -f /tmp/tt\r" |
11 | after 500 | ||
12 | |||
13 | send -- "firejail less sysutils.sh > /tmp/t\r" | ||
14 | sleep 1 | ||
15 | |||
16 | send -- "cat /tmp/t | grep Authors\r" | ||
11 | expect { | 17 | expect { |
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 | } |
17 | expect { | ||
18 | timeout {puts "TESTING ERROR 2\n";exit} | ||
19 | "MALLOC_CHECK" | ||
20 | } | ||
21 | |||
22 | after 100 | 21 | after 100 |
22 | |||
23 | send -- "rm -f /tmp/t\r" | ||
24 | after 500 | ||
23 | puts "\nall done\n" | 25 | puts "\nall done\n" |