Cascading replication misc cleanup

This commit is contained in:
Jong Hyuk Choi 2003-06-26 07:18:50 +00:00
parent e70377b875
commit 420b15f713
4 changed files with 24 additions and 17 deletions

View file

@ -25,7 +25,7 @@ test-bdb: FORCE
@-$(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" ; \
@ -38,7 +38,7 @@ test-hdb: FORCE
@-$(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" ; \
@ -51,7 +51,7 @@ test-ldbm: FORCE
@-$(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" ; \

View file

@ -27,8 +27,9 @@ echo "running defines.sh"
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

View file

@ -27,8 +27,9 @@ echo "running defines.sh"
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

View file

@ -27,16 +27,21 @@ echo "running defines.sh"
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