From 93557d325a0efaab212d9d3f441eb5b591ae8052 Mon Sep 17 00:00:00 2001
From: Kurt Zeilenga <kurt@openldap.org>
Date: Sat, 15 Aug 1998 02:21:07 +0000
Subject: [PATCH] Fixed typo of SLAVELOG and made sure test directories exist.

---
 tests/Make-template      | 2 ++
 tests/scripts/defines.sh | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/Make-template b/tests/Make-template
index 4a0adb8678..d92003f629 100644
--- a/tests/Make-template
+++ b/tests/Make-template
@@ -17,6 +17,8 @@ SCRIPTSDIR=./scripts
 
 all:	FORCE
 	@echo "Initiating LDAP tests..."; \
+	test -d test-db || $(MKDIR) test-db ; \
+	test -d test-repl || $(MKDIR) test-repl ; \
 	$(SCRIPTSDIR)/all $(SCRIPTSDIR)
 
 install:	FORCE
diff --git a/tests/scripts/defines.sh b/tests/scripts/defines.sh
index f6d7a7c51c..bf9ed1786d 100755
--- a/tests/scripts/defines.sh
+++ b/tests/scripts/defines.sh
@@ -7,7 +7,7 @@ LDAPADD=../clients/tools/ldapadd
 PORT=9009
 SLAVEPORT=9010
 MASTERLOG=./test-db/slapd.log
-REPLLOG=./test-repl/slapd.log
+SLAVELOG=./test-repl/slapd.log
 DBDIR=./test-db
 REPLDIR=./test-repl
 CONF=./data/slapd-master.conf
-- 
GitLab