diff src/director/director-test.sh @ 11629:a07aa85f68c9 HEAD

director: Lots of fixes. It should be pretty stable now.
author Timo Sirainen <tss@iki.fi>
date Thu, 24 Jun 2010 20:29:27 +0100
parents da7a307ab4f1
children 79f9dce5d5fd
line wrap: on
line diff
--- a/src/director/director-test.sh	Thu Jun 24 16:27:20 2010 +0100
+++ b/src/director/director-test.sh	Thu Jun 24 20:29:27 2010 +0100
@@ -15,11 +15,11 @@
 listen = 127.0.1.$i
 base_dir = /var/run/dovecot$i
 
-!include dovecot-director-common.conf
+!include dovecot-director-common.conf.inc
 EOF
 done
 
-cat > dovecot-director-common.conf <<EOF
+cat > dovecot-director-common.conf.inc <<EOF
 log_path = /var/log/dovecot.log
 info_log_path = /var/log/dovecot-access.log
 director_servers =$dirs
@@ -83,12 +83,7 @@
 echo
 echo "Start up dovecot instances:"
 echo
-echo "dovecot -c dovecot-test.conf"
-i=0
-while [ $i != $director_count ]; do
-  i=`expr $i + 1`
-  echo "dovecot -c dovecot-director$i.conf"
-done
+echo 'for conf in dovecot*.conf; do dovecot -c $conf; done'
 echo
 echo "Start testing:"
 echo