X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fmigration-occupancy-test;h=21a0d48ecc0def2ab10ffb328dba13d60c141ca0;hb=ccb41474b231924fa189d67b4aac90f5f2a2899d;hp=9dc74a85f03309567ccc6ada0634b1fc6938f7f4;hpb=ad9c22c1a00f79e4bbea8e61b5d3f2208c43bcc6;p=bacula%2Fbacula diff --git a/regress/tests/migration-occupancy-test b/regress/tests/migration-occupancy-test index 9dc74a85f0..21a0d48ecc 100755 --- a/regress/tests/migration-occupancy-test +++ b/regress/tests/migration-occupancy-test @@ -12,8 +12,8 @@ JobName=MigrationJobSave 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 change_jobname NightlySave $JobName start_test @@ -25,10 +25,10 @@ start_test # Pool Full uses Storage=DiskChanger # Write out bconsole commands -cat <tmp/bconcmds +cat <${cwd}/tmp/bconcmds @output messages -@$out tmp/log1.out +@$out ${cwd}/tmp/log1.out 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 @@ -49,7 +49,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 *