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