From: Eric Bollengier Date: Tue, 1 Jun 2010 12:40:36 +0000 (+0200) Subject: regress: tweak multi2-storage-test X-Git-Tag: Release-7.0.0~1788 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=55307e9bc50913b2c7858889809e9541b5958e09;p=bacula%2Fbacula regress: tweak multi2-storage-test --- diff --git a/regress/tests/multi2-storage-test b/regress/tests/multi2-storage-test index d8e2889fa3..67afccc014 100755 --- a/regress/tests/multi2-storage-test +++ b/regress/tests/multi2-storage-test @@ -21,7 +21,7 @@ for i in 2 3 4; do if (/(Archive|Changer) Device/) { $_ =~ s:$tmp:$tmp/$i:} print; ' $conf/bacula-sd.conf > $conf/bacula-sd$i.conf - mkdir -p ${working}$i + mkdir -p ${tmp}/$i sed "s/bacula-sd.conf/bacula-sd${i}.conf/" $scripts/bacula-ctl-sd \ > $tmp/bacula-ctl-sd$i chmod +x $tmp/bacula-ctl-sd$i @@ -51,6 +51,8 @@ for sd in 2 3 4; do $tmp/bacula-ctl-sd$sd stop &> /dev/null done +sleep 2 + # Start SDs for sd in 2 3 4; do $tmp/bacula-ctl-sd$sd start &> /dev/null