aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-04-18 11:50:31 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-04-18 11:55:12 -0300
commit882d77bea086fbe23ac81f52be63fb0bed974968 (patch)
treea94747ddd2e406e5ec67f85033cc3bd140dba111
parentMerge pull request #6302 from kmk3/docs-warn-landlock (diff)
downloadfirejail-882d77bea086fbe23ac81f52be63fb0bed974968.tar.gz
firejail-882d77bea086fbe23ac81f52be63fb0bed974968.tar.zst
firejail-882d77bea086fbe23ac81f52be63fb0bed974968.zip
tests: fix broken rm in gzip.exp
This amends commit 29da82d08 ("private-etc: kdiff3, gzip, gunzip, tar etc", 2023-02-10). This is causing CI to fail, as "index.html" has nothing to do with gzip.exp[1]: ##[group]Run make test-sysutils make test-sysutils shell: /usr/bin/bash -e {0} env: SHELL: /bin/bash ##[endgroup] make -C test sysutils make[1]: Entering directory '/home/runner/work/firejail/firejail/test' cd sysutils && ./sysutils.sh 2>&1 | tee sysutils.log /usr/bin/gzip TESTING: gzip spawn /bin/bash rm index.html* runner@fv-az1391-790:~/work/firejail/firejail/test/sysutils$ rm index.html* rm: cannot remove 'index.html*': No such file or directory runner@fv-az1391-790:~/work/firejail/firejail/test/sysutils$ <irejail gzip -c ../../mkdeb.sh | firejail gunzip -c TESTING ERROR 1 [1] https://github.com/netblue30/firejail/actions/runs/8739405468/job/23982517624:
-rwxr-xr-xtest/sysutils/gzip.exp3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/sysutils/gzip.exp b/test/sysutils/gzip.exp
index 5492391e0..8d69087f8 100755
--- a/test/sysutils/gzip.exp
+++ b/test/sysutils/gzip.exp
@@ -7,9 +7,6 @@ set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "rm index.html*\r"
11after 500
12
13send -- "firejail gzip -c ../../mkdeb.sh | firejail gunzip -c\r" 10send -- "firejail gzip -c ../../mkdeb.sh | firejail gunzip -c\r"
14expect { 11expect {
15 timeout {puts "TESTING ERROR 1\n";exit} 12 timeout {puts "TESTING ERROR 1\n";exit}