From 7f56936dc786dcafb636ea3560fddfade7115388 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Fri, 4 Nov 2016 14:55:59 +0100 Subject: [PATCH] Fixed filter-aaaa prereq.sh --- bin/tests/system/filter-aaaa/prereq.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/bin/tests/system/filter-aaaa/prereq.sh b/bin/tests/system/filter-aaaa/prereq.sh index 3b1987957f..31f9ac6a46 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