Fixes for travis

Travis updated the container images so that the perl
reference to 5.18 was outdated. We use now 5.26 which
works, however we should consider to be more flexible.

JSON::Validator didn't compile in the container. Thus
we switched to just use 'JSON'. That also supports JSON
pretty. For the future we should just test for valid JSON
in all unit test files as it is more effective.
This commit is contained in:
Dirk Wetter
2019-08-12 12:25:54 +02:00
parent ddd9d76d3b
commit 874932774e
3 changed files with 49 additions and 42 deletions

View File

@ -17880,7 +17880,7 @@ determine_service() {
local ua
local protocol
# check if we can connect to $NODEIP:$PORT
# Check if we can connect to $NODEIP:$PORT. Attention: This ALWAYS uses sockets. Thus timeouts for --ssl-=native do not apply
if ! fd_socket 5; then
if [[ -n "$PROXY" ]]; then
fatal "You're sure $PROXYNODE:$PROXYPORT allows tunneling here? Can't connect to \"$NODEIP:$PORT\"" $ERR_CONNECT