From: Tom Krizek Date: Tue, 8 Nov 2022 13:54:14 +0000 (+0100) Subject: Make Perl interpreter required for system tests X-Git-Tag: v9.19.9~67^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=084d72d1d5ea38f4ccc600fd04d61fed1c3124c3;p=thirdparty%2Fbind9.git Make Perl interpreter required for system tests This change has no practical impact, as Perl was already required for all system tests, this check only makes it more explicit. --- diff --git a/bin/tests/system/conf.sh.in b/bin/tests/system/conf.sh.in index a6999e39b2b..548a3e405ea 100644 --- a/bin/tests/system/conf.sh.in +++ b/bin/tests/system/conf.sh.in @@ -80,7 +80,11 @@ export PYTEST=@PYTEST@ # # Interpreters for system tests detected by configure # -export PERL=$(command -v "@PERL@") +export PERL=$(command -v "@PERL@" || true) +if ! test -x "$PERL"; then + echo "Perl interpreter is required for system tests." + exit 77 +fi export PYTHON=$(command -v "@PYTHON@" || true) # Load common values