mrc0mmand / rpms / openldap

Forked from rpms/openldap 3 years ago
Clone

Blame SOURCES/openldap-cbinding-ITS-8573-Add-missing-URI-variables-for-tests.patch

ef2d9b
From 465b1c5972eef1d4e60eb98ae3776d33e270853d Mon Sep 17 00:00:00 2001
ef2d9b
From: =?UTF-8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= <okuznik@symas.com>
ef2d9b
Date: Fri, 15 Jun 2018 15:12:28 +0100
ef2d9b
Subject: [PATCH] ITS#8573 Add missing URI variables for tests
ef2d9b
ef2d9b
---
ef2d9b
 tests/scripts/conf.sh    | 18 ++++++++++++++++++
ef2d9b
 tests/scripts/defines.sh |  7 +++++++
ef2d9b
 2 files changed, 25 insertions(+)
ef2d9b
ef2d9b
diff --git a/tests/scripts/conf.sh b/tests/scripts/conf.sh
ef2d9b
index fe5e60509..02629f190 100755
ef2d9b
--- a/tests/scripts/conf.sh
ef2d9b
+++ b/tests/scripts/conf.sh
ef2d9b
@@ -75,6 +75,24 @@ sed -e "s/@BACKEND@/${BACKEND}/"			\
ef2d9b
 	-e "s;@PORT4@;${PORT4};"			\
ef2d9b
 	-e "s;@PORT5@;${PORT5};"			\
ef2d9b
 	-e "s;@PORT6@;${PORT6};"			\
ef2d9b
+	-e "s;@SURI1@;${SURI1};"			\
ef2d9b
+	-e "s;@SURI2@;${SURI2};"			\
ef2d9b
+	-e "s;@SURI3@;${SURI3};"			\
ef2d9b
+	-e "s;@SURI4@;${SURI4};"			\
ef2d9b
+	-e "s;@SURI5@;${SURI5};"			\
ef2d9b
+	-e "s;@SURI6@;${SURI6};"			\
ef2d9b
+	-e "s;@URIP1@;${URIP1};"			\
ef2d9b
+	-e "s;@URIP2@;${URIP2};"			\
ef2d9b
+	-e "s;@URIP3@;${URIP3};"			\
ef2d9b
+	-e "s;@URIP4@;${URIP4};"			\
ef2d9b
+	-e "s;@URIP5@;${URIP5};"			\
ef2d9b
+	-e "s;@URIP6@;${URIP6};"			\
ef2d9b
+	-e "s;@SURIP1@;${SURIP1};"			\
ef2d9b
+	-e "s;@SURIP2@;${SURIP2};"			\
ef2d9b
+	-e "s;@SURIP3@;${SURIP3};"			\
ef2d9b
+	-e "s;@SURIP4@;${SURIP4};"			\
ef2d9b
+	-e "s;@SURIP5@;${SURIP5};"			\
ef2d9b
+	-e "s;@SURIP6@;${SURIP6};"			\
ef2d9b
 	-e "s/@SASL_MECH@/${SASL_MECH}/"		\
ef2d9b
 	-e "s;@TESTDIR@;${TESTDIR};"			\
ef2d9b
 	-e "s;@TESTWD@;${TESTWD};"			\
ef2d9b
diff --git a/tests/scripts/defines.sh b/tests/scripts/defines.sh
ef2d9b
index 2c9e8f76a..9816034f9 100755
ef2d9b
--- a/tests/scripts/defines.sh
ef2d9b
+++ b/tests/scripts/defines.sh
ef2d9b
@@ -223,16 +223,23 @@ URIP2="ldap://${LOCALIP}:$PORT2/"
ef2d9b
 URI3="ldap://${LOCALHOST}:$PORT3/"
ef2d9b
 URIP3="ldap://${LOCALIP}:$PORT3/"
ef2d9b
 URI4="ldap://${LOCALHOST}:$PORT4/"
ef2d9b
+URIP4="ldap://${LOCALIP}:$PORT4/"
ef2d9b
 URI5="ldap://${LOCALHOST}:$PORT5/"
ef2d9b
+URIP5="ldap://${LOCALIP}:$PORT5/"
ef2d9b
 URI6="ldap://${LOCALHOST}:$PORT6/"
ef2d9b
+URIP6="ldap://${LOCALIP}:$PORT6/"
ef2d9b
 SURI1="ldaps://${LOCALHOST}:$PORT1/"
ef2d9b
 SURIP1="ldaps://${LOCALIP}:$PORT1/"
ef2d9b
 SURI2="ldaps://${LOCALHOST}:$PORT2/"
ef2d9b
 SURIP2="ldaps://${LOCALIP}:$PORT2/"
ef2d9b
 SURI3="ldaps://${LOCALHOST}:$PORT3/"
ef2d9b
+SURIP3="ldaps://${LOCALIP}:$PORT3/"
ef2d9b
 SURI4="ldaps://${LOCALHOST}:$PORT4/"
ef2d9b
+SURIP4="ldaps://${LOCALIP}:$PORT4/"
ef2d9b
 SURI5="ldaps://${LOCALHOST}:$PORT5/"
ef2d9b
+SURIP5="ldaps://${LOCALIP}:$PORT5/"
ef2d9b
 SURI6="ldaps://${LOCALHOST}:$PORT6/"
ef2d9b
+SURIP6="ldaps://${LOCALIP}:$PORT6/"
ef2d9b
 
ef2d9b
 # LDIF
ef2d9b
 LDIF=$DATADIR/test.ldif
ef2d9b
-- 
ef2d9b
2.26.2
ef2d9b