X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fmigration-jobspan-test;h=b0024a1fc2de32987831b4cf9fef459f2dcca398;hb=ccd4202a163e2850c0997814cf9cffda6bb0f180;hp=1969e946a2d586234d01254910781af42cbf6598;hpb=ad9c22c1a00f79e4bbea8e61b5d3f2208c43bcc6;p=bacula%2Fbacula diff --git a/regress/tests/migration-jobspan-test b/regress/tests/migration-jobspan-test index 1969e946a2..b0024a1fc2 100755 --- a/regress/tests/migration-jobspan-test +++ b/regress/tests/migration-jobspan-test @@ -14,8 +14,8 @@ JobName=MigrationJobSpanSave scripts/cleanup scripts/copy-migration-confs -scripts/prepare-two-disks -echo "${cwd}/build" >/tmp/file-list +scripts/prepare-disk-changer +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 @@ -30,10 +30,10 @@ start_test # Pool Full uses Storage=DiskChanger # Write out bconsole commands -cat <tmp/bconcmds -@output +cat <${cwd}/tmp/bconcmds +@$out /dev/null messages -@$out tmp/log1.out +@$out ${cwd}/tmp/log1.out @#setdebug level=10 dir @#setdebug level=100 storage=File label storage=File volume=FileVolume001 Pool=Default @@ -60,7 +60,8 @@ wait @# @# now do a restore @# -@$out tmp/log2.out +@$out ${cwd}/tmp/log2.out +setdebug level=500 storage=File restore where=${cwd}/tmp/bacula-restores select storage=DiskChanger unmark * mark * @@ -68,7 +69,6 @@ done yes wait messages -@output quit END_OF_DATA