@-$(LN_S) ../libraries/liblunicode ucdata
@if test "$(BUILD_BDB)" != "no"; then \
echo "Initiating LDAP tests for BDB..." ; \
- $(MKDIR) test-db test-repl test-repl/r1 test-repl/r2 test-repl/p1 test-repl/p2 test-repl/p3 || true; \
+ $(MKDIR) test-db test-repl || true; \
$(srcdir)/scripts/all $(srcdir) bdb $(BUILD_BDB) $(BUILD_MONITOR) ; \
else \
echo "run configure with --enable-bdb" ; \
@-$(LN_S) ../libraries/liblunicode ucdata
@if test "$(BUILD_HDB)" != "no" ; then \
echo "Initiating LDAP tests for HDB..." ; \
- $(MKDIR) test-db test-repl test-repl/r1 test-repl/r2 test-repl/p1 test-repl/p2 test-repl/p3 || true; \
+ $(MKDIR) test-db test-repl || true; \
$(srcdir)/scripts/all $(srcdir) hdb $(BUILD_HDB) $(BUILD_MONITOR) ; \
else \
echo "run configure with --enable-hdb" ; \
@-$(LN_S) ../libraries/liblunicode ucdata
@if test "$(BUILD_LDBM)" != "no"; then \
echo "Initiating LDAP tests for LDBM..." ; \
- $(MKDIR) test-db test-repl test-repl/r1 test-repl/r2 test-repl/p1 test-repl/p2 test-repl/p3 || true; \
+ $(MKDIR) test-db test-repl || true; \
$(srcdir)/scripts/all $(srcdir) ldbm $(BUILD_LDBM) $(BUILD_MONITOR); \
else \
echo "run configure with --enable-ldbm" ; \
echo "Cleaning up in $DBDIR..."
rm -f $DBDIR/[!C]*
-echo "Cleaning up in $R1REPLDIR..."
-rm -rf $R1REPLDIR/[!C]*
+echo "Resetting $R1REPLDIR..."
+rm -rf $R1REPLDIR
+mkdir $R1REPLDIR
echo "Starting master slapd on TCP/IP port $PORT..."
. $CONFFILTER $BACKEND $MONITORDB < $SRMASTERCONF > $DBCONF
echo "Cleaning up in $DBDIR..."
rm -f $DBDIR/[!C]*
-echo "Cleaning up in $P1REPLDIR..."
-rm -rf $P1REPLDIR/[!C]*
+echo "Resetting $P1REPLDIR..."
+rm -rf $P1REPLDIR
+mkdir $P1REPLDIR
echo "Starting master slapd on TCP/IP port $PORT..."
. $CONFFILTER $BACKEND $MONITORDB < $SRMASTERCONF > $DBCONF
echo "Cleaning up in $DBDIR..."
rm -f $DBDIR/[!C]*
-echo "Cleaning up in $R1REPLDIR..."
-rm -rf $R1REPLDIR/[!C]*
-echo "Cleaning up in $R2REPLDIR..."
-rm -rf $R2REPLDIR/[!C]*
-echo "Cleaning up in $P1REPLDIR..."
-rm -rf $P1REPLDIR/[!C]*
-echo "Cleaning up in $P2REPLDIR..."
-rm -rf $P2REPLDIR/[!C]*
-echo "Cleaning up in $P3REPLDIR..."
-rm -rf $P3REPLDIR/[!C]*
+echo "Resetting $R1REPLDIR..."
+rm -rf $R1REPLDIR
+mkdir $R1REPLDIR
+echo "Resetting $R2REPLDIR..."
+rm -rf $R2REPLDIR
+mkdir $R2REPLDIR
+echo "Resetting $P1REPLDIR..."
+rm -rf $P1REPLDIR
+mkdir $P1REPLDIR
+echo "Resetting $P2REPLDIR..."
+rm -rf $P2REPLDIR
+mkdir $P2REPLDIR
+echo "Resetting $P3REPLDIR..."
+rm -rf $P3REPLDIR
+mkdir $P3REPLDIR
echo "Starting master slapd on TCP/IP port $PORT..."
. $CONFFILTER $BACKEND $MONITORDB < $SRMASTERCONF > $DBCONF