]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Sun, 16 Nov 2008 09:07:19 +0000 (09:07 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 16 Nov 2008 09:07:19 +0000 (09:07 +0000)
tests/scripts/test049-sync-config
tests/scripts/test050-syncrepl-multimaster
tests/scripts/test053-syncprov-glue

index b56c355f8ffc00f411b010bd80816b8c6b5fad7f..b4d7b7ee39ef99d3e2683ec4e121538ec721831a 100755 (executable)
@@ -34,20 +34,19 @@ $SLAPPASSWD -g -n >$CONFIGPWF
 
 if test x"$SYNCMODE" = x ; then
        SYNCMODE=rp
-else
-       case "$SYNCMODE" in
-               ro)
-                       SYNCTYPE="type=refreshOnly interval=00:00:00:10"
-                       ;;
-               rp)
-                       SYNCTYPE="type=refreshAndPersist"
-                       ;;
-               *)
-                       echo "unknown sync mode $SYNCMODE"
-                       exit 1;
-                       ;;
-       esac
 fi
+case "$SYNCMODE" in
+       ro)
+               SYNCTYPE="type=refreshOnly interval=00:00:00:10"
+               ;;
+       rp)
+               SYNCTYPE="type=refreshAndPersist"
+               ;;
+       *)
+               echo "unknown sync mode $SYNCMODE"
+               exit 1;
+               ;;
+esac
 
 #
 # Test replication of dynamic config:
index b06b46edaaef8bfd6c3282582d67a5eb033f3668..3b612000e7383ede38d8a34f924ed0f583961960 100755 (executable)
@@ -37,20 +37,19 @@ $SLAPPASSWD -g -n >$CONFIGPWF
 
 if test x"$SYNCMODE" = x ; then
        SYNCMODE=rp
-else
-       case "$SYNCMODE" in
-               ro)
-                       SYNCTYPE="type=refreshOnly interval=00:00:00:10"
-                       ;;
-               rp)
-                       SYNCTYPE="type=refreshAndPersist"
-                       ;;
-               *)
-                       echo "unknown sync mode $SYNCMODE"
-                       exit 1;
-                       ;;
-       esac
 fi
+case "$SYNCMODE" in
+       ro)
+               SYNCTYPE="type=refreshOnly interval=00:00:00:10"
+               ;;
+       rp)
+               SYNCTYPE="type=refreshAndPersist"
+               ;;
+       *)
+               echo "unknown sync mode $SYNCMODE"
+               exit 1;
+               ;;
+esac
 
 #
 # Test replication of dynamic config:
index 8c87fa053fc31f30e3310513bde00f30c848042c..0a4d70d110a4b15bee5c76947efd982b357b2b3b 100755 (executable)
@@ -47,20 +47,19 @@ $SLAPPASSWD -g -n >$CONFIGPWF
 
 if test x"$SYNCMODE" = x ; then
        SYNCMODE=rp
-else
-       case "$SYNCMODE" in
-               ro)
-                       SYNCTYPE="type=refreshOnly interval=00:00:00:10"
-                       ;;
-               rp)
-                       SYNCTYPE="type=refreshAndPersist"
-                       ;;
-               *)
-                       echo "unknown sync mode $SYNCMODE"
-                       exit 1;
-                       ;;
-       esac
 fi
+case "$SYNCMODE" in
+       ro)
+               SYNCTYPE="type=refreshOnly interval=00:00:00:10"
+               ;;
+       rp)
+               SYNCTYPE="type=refreshAndPersist"
+               ;;
+       *)
+               echo "unknown sync mode $SYNCMODE"
+               exit 1;
+               ;;
+esac
 
 echo "Initializing producer configurations..."
 $SLAPADD -F $CFPROD -n 0 <<EOF