From: Howard Chu Date: Sun, 16 Nov 2008 09:07:19 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: ACLCHECK_0~1089 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8726452d8f0e586ee56d35599bed7dd6fcdb3377;p=openldap Fix prev commit --- diff --git a/tests/scripts/test049-sync-config b/tests/scripts/test049-sync-config index b56c355f8f..b4d7b7ee39 100755 --- a/tests/scripts/test049-sync-config +++ b/tests/scripts/test049-sync-config @@ -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: diff --git a/tests/scripts/test050-syncrepl-multimaster b/tests/scripts/test050-syncrepl-multimaster index b06b46edaa..3b612000e7 100755 --- a/tests/scripts/test050-syncrepl-multimaster +++ b/tests/scripts/test050-syncrepl-multimaster @@ -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: diff --git a/tests/scripts/test053-syncprov-glue b/tests/scripts/test053-syncprov-glue index 8c87fa053f..0a4d70d110 100755 --- a/tests/scripts/test053-syncprov-glue +++ b/tests/scripts/test053-syncprov-glue @@ -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 <