From: Fred Morcos Date: Tue, 3 Sep 2024 18:15:40 +0000 (+0200) Subject: start-test-stop: error out when tools are not built X-Git-Tag: rec-5.2.0-alpha1~30^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f3d36cf25569ec4e9be452ce221087ad495bff7;p=thirdparty%2Fpdns.git start-test-stop: error out when tools are not built removes dependency on make --- diff --git a/regression-tests/start-test-stop b/regression-tests/start-test-stop index 9c23ae869a..c33eb35c60 100755 --- a/regression-tests/start-test-stop +++ b/regression-tests/start-test-stop @@ -242,8 +242,9 @@ spectest=$5 testsdir=./tests for prog in $SDIG $SAXFR $NOTIFY $NSEC3DIG; do - if `echo $prog | grep -q '\.\./pdns'`; then - ${MAKE} -C ../pdns ${prog##*../pdns/} || exit + if [ ! -x "$prog" ]; then + echo "Error: cannot find $prog, please build it." + exit 1 fi done