bind9/bin/tests/system/dnssec/ns3
Michał Kępień 3b7bc3421c Simplify trailing period handling in system tests
Windows systems do not allow a trailing period in file names while Unix
systems do.  When BIND system tests are run, the $TP environment
variable is set to an empty string on Windows systems and to "." on Unix
systems.  This environment variable is then used by system test scripts
for handling this discrepancy properly.

In multiple system test scripts, a variable holding a zone name is set
to a string with a trailing period while the names of the zone's
corresponding dlvset-* and/or dsset-* files are determined using
numerous sed invocations like the following one:

    dlvsets="$dlvsets dlvset-`echo $zone |sed -e "s/.$//g"`$TP"

In order to improve code readability, use zone names without trailing
periods and replace sed invocations with variable substitutions.

To retain local consistency, also remove the trailing period from
certain other zone names used in system tests that are not subsequently
processed using sed.

(cherry picked from commit da2c1b74ad)
2019-04-26 20:38:29 +02:00
..
auto-nsec.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
auto-nsec3.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
bogus.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
dname-at-apex-nsec3.example.db.in verify that dnssec-signzone generates NSEC3 records with DNAME at the apex 2018-12-09 23:12:41 -05:00
dnskey-nsec3-unknown.example.db.in Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
dnskey-unknown.example.db.in Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
dnskey-unsupported-2.example.db.in Add dnssec-signzone tests with unsupported alg 2018-12-19 12:54:31 +01:00
dnskey-unsupported.example.db.in Add dnssec-signzone tests with unsupported alg 2018-12-19 12:54:31 +01:00
dynamic.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
expired.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
expiring.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
future.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
generic.example.db.in Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
inline.example.db Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
insecure.below-cname.example.db Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
insecure.example.db test correct occlusion of DNSSEC records 2019-02-28 16:06:38 -08:00
insecure.nsec3.example.db Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
insecure.optout.example.db Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
key.db.in Ignore trust anchors using disabled algorithm 2019-04-17 10:33:25 +02:00
kskonly.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
lower.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
managed-future.example.db.in Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
multiple.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
named.conf.in Also ignore configured revoked trusted anchors 2019-04-17 10:34:54 +02:00
nosign.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
nsec3-unknown.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
nsec3.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
nsec3.nsec3.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
nsec3.optout.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
occluded.example.db.in check that DNSKEY and other occluded data are excluded from the delegating bitmap 2018-12-14 12:48:55 +11:00
optout-unknown.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
optout.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
optout.nsec3.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
optout.optout.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
publish-inactive.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
rsasha256.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
rsasha512.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
secure.below-cname.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
secure.example.db.in test correct occlusion of DNSSEC records 2019-02-28 16:06:38 -08:00
secure.nsec3.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
secure.optout.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
siginterval.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
siginterval1.conf remove re-signing race when testing dnskey-sig-validity 2018-06-27 07:27:07 -04:00
siginterval2.conf new option "dnskey-sig-validity" 2018-04-20 12:12:08 -07:00
sign.sh Simplify trailing period handling in system tests 2019-04-26 20:38:29 +02:00
split-dnssec.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
split-smart.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
ttlpatch.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
unsupported-algorithm.key Replace DSA with Reserved algorithm 2018-12-19 12:54:57 +01:00
update-nsec3.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
upper.example.db.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00