diff --git a/bin/tests/system/feature-test.c b/bin/tests/system/feature-test.c index 39f69b1a89..83d352fcaa 100644 --- a/bin/tests/system/feature-test.c +++ b/bin/tests/system/feature-test.c @@ -70,7 +70,7 @@ main(int argc, char **argv) { } if (strcmp(argv[1], "--enable-filter-aaaa") == 0) { -#ifdef ALLOW_FILTER_AAAA +#ifdef ALLOW_FILTER_AAAA_ON_V4 return (0); #else return (1); diff --git a/bin/tests/system/filter-aaaa/prereq.sh b/bin/tests/system/filter-aaaa/prereq.sh index 4e0262aae7..fb4d19ebbc 100644 --- a/bin/tests/system/filter-aaaa/prereq.sh +++ b/bin/tests/system/filter-aaaa/prereq.sh @@ -14,10 +14,11 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -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