Fixed filter-aaaa prereq.sh and feature-test.c

This commit is contained in:
Francis Dupont 2016-11-04 15:00:25 +01:00
parent fc6f778fd8
commit e493ed7c45
2 changed files with 7 additions and 6 deletions

View file

@ -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);

View file

@ -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