[master] simplify prereq checks by using feature-test.c

4498.	[test]		Simplify prerequisite checks in system tests.
			[RT #43516]
This commit is contained in:
Evan Hunt
2016-10-31 16:53:37 -07:00
parent ace79092b3
commit 5480a74b70
81 changed files with 165 additions and 3657 deletions

View File

@@ -438,7 +438,7 @@ nochange a5-1-2.tld2
end_group
ckstats $ns3 'radix tree deletions' ns3 0
if $RPZ nsdname; then
if $FEATURETEST --rpz-nsdname; then
# these tests assume "min-ns-dots 0"
start_group "NSDNAME rewrites" test3
nochange a3-1.tld2 # 1
@@ -459,7 +459,7 @@ else
echo "I:NSDNAME not checked; named configured with --disable-rpz-nsdname"
fi
if $RPZ nsip; then
if $FEATURETEST --rpz-nsip; then
# these tests assume "min-ns-dots 0"
start_group "NSIP rewrites" test4
nxdomain a3-1.tld2 # 1 NXDOMAIN for all of tld2