]> git.sur5r.net Git - bacula/bacula/commitdiff
regress: tweak multi2-storage-test
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 1 Jun 2010 12:40:36 +0000 (14:40 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:51 +0000 (16:53 +0200)
regress/tests/multi2-storage-test

index d8e2889fa3d952b46c34a0fe1871d4add9156164..67afccc014472b29a0e1a3ccbc65545a9eef7612 100755 (executable)
@@ -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