From: Francis Dupont Date: Fri, 4 Nov 2016 13:55:59 +0000 (+0100) Subject: Fixed filter-aaaa prereq.sh X-Git-Tag: v9.12.0a1~665 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=7f56936dc786dcafb636ea3560fddfade7115388;p=thirdparty%2Fbind9.git Fixed filter-aaaa prereq.sh --- diff --git a/bin/tests/system/filter-aaaa/prereq.sh b/bin/tests/system/filter-aaaa/prereq.sh index 3b1987957f4..31f9ac6a46f 100644 --- a/bin/tests/system/filter-aaaa/prereq.sh +++ b/bin/tests/system/filter-aaaa/prereq.sh @@ -6,10 +6,11 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -if $FEATURETEST --enable-filter-aaaa -then - : -else +SYSTEMTESTTOP=.. +. $SYSTEMTESTTOP/conf.sh + +$FEATURETEST --enable-filter-aaaa || { echo "I:This test requires --enable-filter-aaaa at compile time." >&2 exit 255 -fi +} +exit 0