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

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