From 624d6f6374e5d3591af31261994db330cbc78160 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 1 Jun 2010 14:40:36 +0200 Subject: [PATCH] regress: tweak multi2-storage-test --- regress/tests/multi2-storage-test | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5