From 8726452d8f0e586ee56d35599bed7dd6fcdb3377 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 16 Nov 2008 09:07:19 +0000 Subject: [PATCH] Fix prev commit --- tests/scripts/test049-sync-config | 25 +++++++++++----------- tests/scripts/test050-syncrepl-multimaster | 25 +++++++++++----------- tests/scripts/test053-syncprov-glue | 25 +++++++++++----------- 3 files changed, 36 insertions(+), 39 deletions(-) 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 <