From: Eric Bollengier Date: Tue, 1 Jun 2010 12:40:36 +0000 (+0200) Subject: regress: tweak multi2-storage-test X-Git-Tag: Release-5.0.3~167 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=624d6f6374e5d3591af31261994db330cbc78160;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