]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/migration-job-test
Update
[bacula/bacula] / regress / tests / migration-job-test
index dc8dff7a5a6556b62f58ca4183ad844f63ddde5a..fccf7af6468da7cd2af47cc2303967bf39c3f83b 100755 (executable)
@@ -12,9 +12,9 @@ set_debug 0
 
 . config.out
 
+scripts/cleanup
 scripts/copy-migration-confs
 scripts/prepare-two-disks
-scripts/cleanup
 echo "${cwd}/build" >/tmp/file-list
 
 change_jobname NightlySave $JobName
@@ -35,13 +35,17 @@ label storage=File volume=FileVolume001 Pool=Default
 label storage=DiskChanger volume=ChangerVolume001 slot=1 Pool=Full drive=0
 label storage=DiskChanger volume=ChangerVolume002 slot=2 Pool=Full drive=0
 list volumes
+@# run two jobs (both will be migrated)
+run job=$JobName yes
 run job=$JobName yes
 wait
 list volumes
+@# should migrate two jobs
 run job=migrate yes
 list volumes
 wait
 messages
+wait
 @# 
 @# now do a restore
 @#