aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2022-07-29 19:30:48 +0200
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2022-07-30 10:48:33 +0200
commitc971903de0364a9ab29acba366e1804ab4de62e0 (patch)
tree1734c1ee322381c017e928cfb164ef0130a5d12d /test
parenttests: try curl instead of wget for tracing dns resolution (diff)
downloadfirejail-c971903de0364a9ab29acba366e1804ab4de62e0.tar.gz
firejail-c971903de0364a9ab29acba366e1804ab4de62e0.tar.zst
firejail-c971903de0364a9ab29acba366e1804ab4de62e0.zip
tests: disable calling curl in dns test, as systemd-resolved is used on CI runner
Diffstat (limited to 'test')
-rwxr-xr-xtest/environment/dns.exp30
1 files changed, 16 insertions, 14 deletions
diff --git a/test/environment/dns.exp b/test/environment/dns.exp
index 7395ac110..2c00cfa1c 100755
--- a/test/environment/dns.exp
+++ b/test/environment/dns.exp
@@ -110,20 +110,22 @@ expect {
110send -- "exit\r" 110send -- "exit\r"
111sleep 1 111sleep 1
112 112
113send -- "firejail --trace --dns=208.67.222.222 -- curl --silent --output /dev/null debian.org\r" 113# test disabled, as Github CI uses systemd-resolved, which does not work
114expect { 114# properly with --dns=, so curl does not use the specified nameserver
115 timeout {puts "TESTING ERROR 6.1\n";exit} 115#send -- "firejail --trace --dns=208.67.222.222 -- curl --silent --output /dev/null debian.org\r"
116 "connect" 116#expect {
117} 117# timeout {puts "TESTING ERROR 6.1\n";exit}
118expect { 118# "connect"
119 timeout {puts "TESTING ERROR 6.2\n";exit} 119#}
120 "208.67.222.222" 120#expect {
121} 121# timeout {puts "TESTING ERROR 6.2\n";exit}
122expect { 122# "208.67.222.222"
123 timeout {puts "TESTING ERROR 6.3\n";exit} 123#}
124 "53" 124#expect {
125} 125# timeout {puts "TESTING ERROR 6.3\n";exit}
126after 100 126# "53"
127#}
128#after 100
127 129
128send -- "exit\r" 130send -- "exit\r"
129sleep 1 131sleep 1