aboutsummaryrefslogtreecommitdiffstats
path: root/test/sysutils/gzip.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/sysutils/gzip.exp')
-rwxr-xr-xtest/sysutils/gzip.exp16
1 files changed, 5 insertions, 11 deletions
diff --git a/test/sysutils/gzip.exp b/test/sysutils/gzip.exp
index 75b51694c..b0c41e429 100755
--- a/test/sysutils/gzip.exp
+++ b/test/sysutils/gzip.exp
@@ -7,20 +7,14 @@ set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "/bin/gzip -c /usr/bin/firejail > firejail_t1\r" 10send -- "rm index.html*\r"
11sleep 1 11after 500
12 12
13send -- "firejail /bin/gzip -c /usr/bin/firejail > firejail_t2\r" 13send -- "firejail gzip -c ../../mkdeb.sh | firejail gunzip -c\r"
14sleep 1
15
16send -- "diff -s firejail_t1 firejail_t2\r"
17expect { 14expect {
18 timeout {puts "TESTING ERROR 1\n";exit} 15 timeout {puts "TESTING ERROR 1\n";exit}
19 "firejail_t1 and firejail_t2 are identical" 16 "This file is part of Firejail project"
20} 17}
21 18after 500
22send -- "rm firejail_t*\r"
23sleep 1
24
25 19
26puts "\nall done\n" 20puts "\nall done\n"