1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

test: Remove dependency on wget

This patch removes the dependency on wget for fetching content over
http, which was used in one of the tests to do some checking on debug
and metric pages, as well as loop detection.

Instead of wget, we now use a small built-in utility called fexp.
This commit is contained in:
Alberto Bertogli
2020-11-02 17:57:40 +00:00
parent 025cb2d96a
commit e9c6775418
4 changed files with 213 additions and 19 deletions

View File

@@ -118,6 +118,11 @@ function minidns_bg() {
MINIDNS=$!
}
function fexp() {
( cd ${UTILDIR}; go build fexp.go )
${UTILDIR}/fexp "$@"
}
function success() {
echo success
}