From 58b1cfefed1294151b2cec1b7f72905abfb17971 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 30 May 2025 22:16:24 +1200 Subject: [PATCH] :-'Generic Commit' --- testing/test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/testing/test.sh b/testing/test.sh index f1c1fff..c8f66ae 100755 --- a/testing/test.sh +++ b/testing/test.sh @@ -66,9 +66,13 @@ WRITE_TOKEN=$(echo "$CONFIG" | jq -r '.write_tokens[0]') BASE_TAG="autotest" +if ! command -v wget &> /dev/null; then + echo "wget could not be found" + exit 1 +fi # test if server is running -if ! curl -s "${HOSTURL}/status" | jq -r '.result' | grep -q 'success'; then +if ! wget -qO- "${HOSTURL}/status" | jq -r '.result' | grep -q 'success'; then die "server is not running on ${HOSTURL}" fi