X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fmigration-jobspan-test;h=6910dde4bdec277c1a8ca5b44399a84efd908746;hb=c0aaad2cbccdf8a49448666d2ba89ca4fe531ec9;hp=21a4a19b46de92fafff2aa50cf022d622eee8c56;hpb=8fccc8a5e1cac7acfbdd4f4b3ab29131824928ad;p=bacula%2Fbacula diff --git a/regress/tests/migration-jobspan-test b/regress/tests/migration-jobspan-test index 21a4a19b46..6910dde4bd 100755 --- a/regress/tests/migration-jobspan-test +++ b/regress/tests/migration-jobspan-test @@ -10,14 +10,12 @@ TestName="migration-jobspan-test" JobName=MigrationJobSpanSave . scripts/functions -set_debug 0 -. config.out scripts/cleanup scripts/copy-migration-confs scripts/prepare-two-disks -echo "${cwd}/build" >/tmp/file-list +echo "${cwd}/build" >${cwd}/tmp/file-list cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1 sed "s%# Maximum File Size% Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf @@ -32,11 +30,11 @@ start_test # Pool Full uses Storage=DiskChanger # Write out bconsole commands -cat <tmp/bconcmds +cat <${cwd}/tmp/bconcmds @output messages -@$out tmp/log1.out -@#setdebug level=100 dir +@$out ${cwd}/tmp/log1.out +@#setdebug level=10 dir @#setdebug level=100 storage=File label storage=File volume=FileVolume001 Pool=Default label storage=File volume=FileVolume002 Pool=Default @@ -49,6 +47,7 @@ run job=$JobName yes @#run job=$JobName yes wait list volumes +@#setdebug level=200 dir @# should migrate both Volumes run job=migrate-job yes wait @@ -61,7 +60,7 @@ wait @# @# now do a restore @# -@$out tmp/log2.out +@$out ${cwd}/tmp/log2.out restore where=${cwd}/tmp/bacula-restores select storage=DiskChanger unmark * mark *