Blame SOURCES/bind-9.11-tests-variants.patch

854838
From 607cec78382b016aad0fe041f2e1895b6896c647 Mon Sep 17 00:00:00 2001
854838
From: Petr Mensik <pemensik@redhat.com>
854838
Date: Fri, 1 Mar 2019 15:48:20 +0100
854838
Subject: [PATCH] Make alternative named builds testable in system tests
854838
854838
Red Hat has alternative variant builds of named, which are not ever
854838
tested by system tests. New variables make it relatively easy to test
854838
alternative variants.
854838
854838
For sdb variant use:
854838
export NAMED_VARIANT=-sdb DNSSEC_VARIANT=
854838
854838
For pkcs variant use:
854838
export NAMED_VARIANT=-pkcs11 DNSSEC_VARIANT=-pkcs11
854838
---
854838
 bin/tests/system/conf.sh.in | 18 +++++++++---------
854838
 1 file changed, 9 insertions(+), 9 deletions(-)
854838
854838
diff --git a/bin/tests/system/conf.sh.in b/bin/tests/system/conf.sh.in
854838
index d859909..9152f07 100644
854838
--- a/bin/tests/system/conf.sh.in
854838
+++ b/bin/tests/system/conf.sh.in
854838
@@ -37,17 +37,17 @@ DDNSCONFGEN=$TOP/bin/confgen/ddns-confgen
854838
 DELV=$TOP/bin/delv/delv
854838
 DIG=$TOP/bin/dig/dig
854838
 DNSTAPREAD=$TOP/bin/tools/dnstap-read
854838
-DSFROMKEY=$TOP/bin/dnssec/dnssec-dsfromkey
854838
-FEATURETEST=$TOP/bin/named/feature-test
854838
+DSFROMKEY=$TOP/bin/dnssec${DNSSEC_VARIANT}/dnssec-dsfromkey${DNSSEC_VARIANT}
854838
+FEATURETEST=$TOP/bin/named${NAMED_VARIANT}/feature-test${NAMED_VARIANT}
854838
 FSTRM_CAPTURE=@FSTRM_CAPTURE@
854838
 HOST=$TOP/bin/dig/host
854838
-IMPORTKEY=$TOP/bin/dnssec/dnssec-importkey
854838
+IMPORTKEY=$TOP/bin/dnssec${DNSSEC_VARIANT}/dnssec-importkey${DNSSEC_VARIANT}
854838
 JOURNALPRINT=$TOP/bin/tools/named-journalprint
854838
-KEYFRLAB=$TOP/bin/dnssec/dnssec-keyfromlabel
854838
-KEYGEN=$TOP/bin/dnssec/dnssec-keygen
854838
+KEYFRLAB=$TOP/bin/dnssec${DNSSEC_VARIANT}/dnssec-keyfromlabel${DNSSEC_VARIANT}
854838
+KEYGEN=$TOP/bin/dnssec${DNSSEC_VARIANT}/dnssec-keygen${DNSSEC_VARIANT}
854838
 KEYMGR=$TOP/bin/python/dnssec-keymgr
854838
 MDIG=$TOP/bin/tools/mdig
854838
-NAMED=$TOP/bin/named/named
854838
+NAMED=$TOP/bin/named${NAMED_VARIANT}/named${NAMED_VARIANT}
854838
 NSEC3HASH=$TOP/bin/tools/nsec3hash
854838
 NSLOOKUP=$TOP/bin/dig/nslookup
854838
 NSUPDATE=$TOP/bin/nsupdate/nsupdate
854838
@@ -56,12 +56,12 @@ PK11DEL="$TOP/bin/pkcs11/pkcs11-destroy -s ${SLOT:-0} -p ${HSMPIN:-1234} -w 0"
854838
 PK11GEN="$TOP/bin/pkcs11/pkcs11-keygen -q -s ${SLOT:-0} -p ${HSMPIN:-1234}"
854838
 PK11LIST="$TOP/bin/pkcs11/pkcs11-list -s ${SLOT:-0} -p ${HSMPIN:-1234}"
854838
 RESOLVE=$TOP/bin/tests/system/resolve
854838
-REVOKE=$TOP/bin/dnssec/dnssec-revoke
854838
+REVOKE=$TOP/bin/dnssec${DNSSEC_VARIANT}/dnssec-revoke${DNSSEC_VARIANT}
854838
 RNDC=$TOP/bin/rndc/rndc
854838
 RNDCCONFGEN=$TOP/bin/confgen/rndc-confgen
854838
 RRCHECKER=$TOP/bin/tools/named-rrchecker
854838
-SETTIME=$TOP/bin/dnssec/dnssec-settime
854838
-SIGNER=$TOP/bin/dnssec/dnssec-signzone
854838
+SETTIME=$TOP/bin/dnssec${DNSSEC_VARIANT}/dnssec-settime${DNSSEC_VARIANT}
854838
+SIGNER=$TOP/bin/dnssec${DNSSEC_VARIANT}/dnssec-signzone${DNSSEC_VARIANT}
854838
 TSIGKEYGEN=$TOP/bin/confgen/tsig-keygen
854838
 VERIFY=$TOP/bin/dnssec/dnssec-verify
854838
 WIRETEST=$TOP/bin/tests/wire_test
854838
-- 
854838
2.26.3
854838