]> git.sur5r.net Git - bacula/bacula/commitdiff
regress: tweak multi2-storage-test
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 27 May 2010 13:16:15 +0000 (15:16 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:50 +0000 (16:53 +0200)
regress/tests/multi2-storage-test

index b89ae29e2daaad1d6fab4134fb93b8b1e409a68a..2ee6507732950b756d1df0b8ca4b3f2455d86d62 100755 (executable)
@@ -46,12 +46,15 @@ echo "${cwd}/build" >${cwd}/tmp/file-list
 change_jobname $JobName
 start_test
 
-# Start SDs
+# Stop SDs
 for sd in 2 3 4; do
   $tmp/bacula-ctl-sd$sd stop &> /dev/null
-  $tmp/bacula-ctl-sd$sd start &> /dev/null
 done
 
+# Start SDs
+for sd in 2 3 4; do
+  $tmp/bacula-ctl-sd$sd start &> /dev/null
+done
 
 # Write out bconsole commands
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds