Use wget instead of curl in the tests
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
8ef74a773c
commit
6cf54db9ad
|
@ -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" ]]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue