aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-08-28 18:41:08 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-08-28 19:03:09 -0300
commit7e91a0414ca6b6b20d828f4a7747a891abc048e1 (patch)
tree89718878b81dc8d5d44ae05c0163548f4ae25667 /test
parenttests: disable wget test in utils/trace.exp (diff)
downloadfirejail-7e91a0414ca6b6b20d828f4a7747a891abc048e1.tar.gz
firejail-7e91a0414ca6b6b20d828f4a7747a891abc048e1.tar.zst
firejail-7e91a0414ca6b6b20d828f4a7747a891abc048e1.zip
tests: disable broken wget tests in utils/sysutils
They are taking longer than the 30s timeout[1] [2]: runner@fv-az246-621:~/work/firejail/firejail/test/sysutils$ <ysutils$ firejail --ignore=quiet wget -q debian.org Reading profile /etc/firejail/wget.profile [...] Child process initialized in 115.54 ms TESTING ERROR 2 runner@fv-az1234-541:~/work/firejail/firejail/test/utils$ <irejail --build wget --output-document=~ debian.org [...] Resolving www.debian.org (www.debian.org)... 128.31.0.62 Connecting to www.debian.org (www.debian.org)|128.31.0.62|:443... connected. TESTING ERROR 13 [1] https://github.com/kmk3/firejail/actions/runs/6005119423/job/16287436840 [2] https://github.com/kmk3/firejail/actions/runs/6005314148/job/16287794321
Diffstat (limited to 'test')
-rwxr-xr-xtest/sysutils/sysutils.sh4
-rwxr-xr-xtest/utils/build.exp21
2 files changed, 13 insertions, 12 deletions
diff --git a/test/sysutils/sysutils.sh b/test/sysutils/sysutils.sh
index 83fdae96f..354bd0aba 100755
--- a/test/sysutils/sysutils.sh
+++ b/test/sysutils/sysutils.sh
@@ -121,8 +121,8 @@ fi
121 121
122if command -v wget 122if command -v wget
123then 123then
124 echo "TESTING: wget" 124 echo "TESTING: FIXME: wget"
125 ./wget.exp 125 #./wget.exp # FIXME: Broken in CI
126else 126else
127 echo "TESTING SKIP: wget not found" 127 echo "TESTING SKIP: wget not found"
128fi 128fi
diff --git a/test/utils/build.exp b/test/utils/build.exp
index c550675c5..d8813b3a4 100755
--- a/test/utils/build.exp
+++ b/test/utils/build.exp
@@ -97,15 +97,16 @@ after 100
97# increase the timeout for remote services 97# increase the timeout for remote services
98set timeout 30 98set timeout 30
99 99
100send -- "firejail --build wget --output-document=~ debian.org\r" 100# FIXME: Broken in CI
101expect { 101#send -- "firejail --build wget --output-document=~ debian.org\r"
102 timeout {puts "TESTING ERROR 13\n";exit} 102#expect {
103 "protocol" 103# timeout {puts "TESTING ERROR 13\n";exit}
104} 104# "protocol"
105expect { 105#}
106 timeout {puts "TESTING ERROR 13.1\n";exit} 106#expect {
107 "inet" 107# timeout {puts "TESTING ERROR 13.1\n";exit}
108} 108# "inet"
109after 100 109#}
110#after 100
110 111
111puts "all done\n" 112puts "all done\n"