From cff4c03e9e9e12f5663a5e506cc83b6ae182724b Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 21 Sep 2005 02:40:09 +0000 Subject: [PATCH] some TESTDIR fixes --- tests/scripts/test000-rootdse | 2 +- tests/scripts/test001-slapadd | 2 +- tests/scripts/test002-populate | 2 +- tests/scripts/test014-whoami | 2 +- tests/scripts/test027-emptydn | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/scripts/test000-rootdse b/tests/scripts/test000-rootdse index 15c0710653..61c0f8cca2 100755 --- a/tests/scripts/test000-rootdse +++ b/tests/scripts/test000-rootdse @@ -16,7 +16,7 @@ echo "running defines.sh" . $SRCDIR/scripts/defines.sh -mkdir -p $TESTRUN $DBDIR1 +mkdir -p $TESTDIR $DBDIR1 echo "Starting slapd on TCP/IP port $PORT1..." . $CONFFILTER $BACKEND $MONITORDB < $SCHEMACONF > $CONF1 diff --git a/tests/scripts/test001-slapadd b/tests/scripts/test001-slapadd index df82d1fee8..fb1fc469dc 100755 --- a/tests/scripts/test001-slapadd +++ b/tests/scripts/test001-slapadd @@ -16,7 +16,7 @@ echo "running defines.sh" . $SRCDIR/scripts/defines.sh -mkdir -p $TESTRUN $DBDIR1 +mkdir -p $TESTDIR $DBDIR1 echo "Running slapadd to build slapd database..." . $CONFFILTER $BACKEND $MONITORDB < $CONF > $ADDCONF diff --git a/tests/scripts/test002-populate b/tests/scripts/test002-populate index 8d15b5dc51..fe24cb2f17 100755 --- a/tests/scripts/test002-populate +++ b/tests/scripts/test002-populate @@ -16,7 +16,7 @@ echo "running defines.sh" . $SRCDIR/scripts/defines.sh -mkdir -p $TESTRUN $DBDIR1 +mkdir -p $TESTDIR $DBDIR1 echo "Starting slapd on TCP/IP port $PORT1..." . $CONFFILTER $BACKEND $MONITORDB < $CONF > $CONF1 diff --git a/tests/scripts/test014-whoami b/tests/scripts/test014-whoami index a612864b90..62734714ac 100755 --- a/tests/scripts/test014-whoami +++ b/tests/scripts/test014-whoami @@ -422,6 +422,6 @@ echo ">>>>> Test succeeded" exit 0 ## Note to developers: when SLAPD_DEBUG=-1 the command -## awk '/^do_extended$/ {if (c) {print c} c=0} /<===slap_sasl_match:/ {c++} END {print c}' testrun/slapd.1.log +## awk '/^do_extended$/ {if (c) {print c} c=0} /<===slap_sasl_match:/ {c++} END {print c}' $TESTDIR/slapd.1.log ## must return the sequence 1 2 3 4 5 6 7 8 9 9 1 2 3 4 5 6 7 8 9 9 9 1 ## to indicate that the authzFrom and authzTo rules applied in the right order. diff --git a/tests/scripts/test027-emptydn b/tests/scripts/test027-emptydn index 1553147e95..efb922ae50 100755 --- a/tests/scripts/test027-emptydn +++ b/tests/scripts/test027-emptydn @@ -91,7 +91,7 @@ fi echo "Comparison of database generated via slapadd succeeded" echo "Cleaning up database directories..." -/bin/rm -rf testrun/db.* +/bin/rm -rf $TESTDIR/db.* mkdir -p $TESTDIR $DBDIR1 $DBDIR2 -- 2.39.5