Use wget instead of curl in the tests

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2019-10-22 20:56:38 +02:00
parent 8ef74a773c
commit 6cf54db9ad
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD
1 changed files with 1 additions and 1 deletions

View File

@ -453,7 +453,7 @@
}
@test "HTTP server responds correctly to ping" {
run bash -c 'curl 127.0.0.1:8080/ping'
run bash -c 'wget 127.0.0.1:8080/ping -q -O -'
printf "%s\n" "${lines[@]}"
[[ ${lines[0]} == "pong" ]]
}