diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-04-18 11:50:31 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-04-18 11:55:12 -0300 |
commit | 882d77bea086fbe23ac81f52be63fb0bed974968 (patch) | |
tree | a94747ddd2e406e5ec67f85033cc3bd140dba111 /test | |
parent | Merge pull request #6302 from kmk3/docs-warn-landlock (diff) | |
download | firejail-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:
Diffstat (limited to 'test')
-rwxr-xr-x | test/sysutils/gzip.exp | 3 |
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 | |||
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
10 | send -- "rm index.html*\r" | ||
11 | after 500 | ||
12 | |||
13 | send -- "firejail gzip -c ../../mkdeb.sh | firejail gunzip -c\r" | 10 | send -- "firejail gzip -c ../../mkdeb.sh | firejail gunzip -c\r" |
14 | expect { | 11 | expect { |
15 | timeout {puts "TESTING ERROR 1\n";exit} | 12 | timeout {puts "TESTING ERROR 1\n";exit} |