From: Chris Hofstaedtler Date: Wed, 29 Nov 2023 23:33:20 +0000 (+0100) Subject: auth tests: abort if runtests is used incorrectly X-Git-Tag: rec-5.0.0-rc1~13^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F13546%2Fhead;p=thirdparty%2Fpdns.git auth tests: abort if runtests is used incorrectly --- diff --git a/regression-tests/runtests b/regression-tests/runtests index 162d15f0d4..60c8844c0c 100755 --- a/regression-tests/runtests +++ b/regression-tests/runtests @@ -1,4 +1,9 @@ #!/usr/bin/env bash +if [ -z "$testsdir" ]; then + echo "Incorrect usage. You probably want ./start-test-stop help" + exit 1 +fi + PATH=.:$PATH:/usr/sbin MAKE=${MAKE:-make}