From d2cf3030084b008747e11fb397a9789bd7d15684 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 24 Jun 2006 01:59:54 +0000 Subject: [PATCH] Fix use of generated password --- tests/scripts/conf.sh | 1 - tests/scripts/defines.sh | 2 +- tests/scripts/test034-translucent | 5 ++--- tests/scripts/test042-valsort | 8 -------- 4 files changed, 3 insertions(+), 13 deletions(-) diff --git a/tests/scripts/conf.sh b/tests/scripts/conf.sh index c16ea0bb68..7bef25a2a5 100755 --- a/tests/scripts/conf.sh +++ b/tests/scripts/conf.sh @@ -69,7 +69,6 @@ sed -e "s/@BACKEND@/${BACKEND}/" \ -e "s;@PORT4@;${PORT4};" \ -e "s;@PORT5@;${PORT5};" \ -e "s;@PORT6@;${PORT6};" \ - -e "s/@CONFIGPW@/${CONFIGPW}/" \ -e "s/@SASL_MECH@/${SASL_MECH}/" \ -e "s/@CACHETTL@/${CACHETTL}/" \ -e "s/@ENTRY_LIMIT@/${CACHE_ENTRY_LIMIT}/" \ diff --git a/tests/scripts/defines.sh b/tests/scripts/defines.sh index 35d4f672df..7a2a21235a 100755 --- a/tests/scripts/defines.sh +++ b/tests/scripts/defines.sh @@ -142,7 +142,7 @@ LOG6=$TESTDIR/slapd.6.log SLAPADDLOG1=$TESTDIR/slapadd.1.log SLURPLOG=$TESTDIR/slurp.log -CONFIGPWF=$TESTDIR/configpw +CONFIGPWF=./configpw # args TOOLARGS="-x $LDAP_TOOLARGS" diff --git a/tests/scripts/test034-translucent b/tests/scripts/test034-translucent index 822704492c..4337b32a66 100755 --- a/tests/scripts/test034-translucent +++ b/tests/scripts/test034-translucent @@ -15,7 +15,6 @@ echo "running defines.sh" . $SRCDIR/scripts/defines.sh -PASSWD=`cat configpw` LVL=-1 PERSONAL="(objectClass=inetOrgPerson)" NOWHERE="/dev/null" @@ -200,7 +199,7 @@ fi echo "Dynamically configuring local slapd without translucent_no_glue..." -$LDAPMODIFY -D "$TRANSLUCENTROOT" -H $URI2 -w $PASSWD < $CONFIGPWF -RC=$? -if test $RC != 0 ; then - echo "slappasswd failed ($RC)!" - exit $RC -fi -read CONFIGPW < $CONFIGPWF - echo "Running slapadd to build slapd database..." . $CONFFILTER $BACKEND $MONITORDB < $VALSORTCONF > $CONF1 $SLAPADD -f $CONF1 -l $LDIFVALSORT -- 2.39.5