]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/migration-job-test
Simplify restart regress because of one-shot hangup
[bacula/bacula] / regress / tests / migration-job-test
index 67a7ffe7a22a64881c699b61e036bdf1afc059ab..16ca0e363c2820d075cea0f66ddc98cbb8d814c9 100755 (executable)
@@ -12,7 +12,7 @@ JobName=MigrationJobSave
 
 scripts/cleanup
 scripts/copy-migration-confs
-scripts/prepare-two-disks
+scripts/prepare-disk-changer
 echo "${cwd}/build" >${cwd}/tmp/file-list
 
 change_jobname NightlySave $JobName
@@ -26,10 +26,10 @@ start_test
 
 # Write out bconsole commands
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
-@output
+@$out /dev/null
 messages
 @$out ${cwd}/tmp/log1.out
-@#setdebug level=100 storage=File
+setdebug level=000 storage=File
 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
@@ -48,6 +48,7 @@ messages
 @# purge volume=FileVolume001
 list jobs 
 list volumes
+list joblog jobid=6
 wait
 @#
 @# Now do another backup, but level Incremental
@@ -72,7 +73,6 @@ yes
 list volumes
 wait
 messages
-@output
 quit
 END_OF_DATA