X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fmigration-occupancy-test;h=5f19481677d6b7919b8ecd213d10f4127ddbaf80;hb=d0afb9386d99f0e4f14dc065a5eb5109fb2befe4;hp=80f81cd01ed74f1f354c59695d030f363cf77751;hpb=45dc0d2f1f568fcc62526533adacde65df441837;p=bacula%2Fbacula diff --git a/regress/tests/migration-occupancy-test b/regress/tests/migration-occupancy-test index 80f81cd01e..5f19481677 100755 --- a/regress/tests/migration-occupancy-test +++ b/regress/tests/migration-occupancy-test @@ -9,12 +9,11 @@ TestName="migration-occupancy-test" JobName=MigrationJobSave . scripts/functions -. 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 change_jobname NightlySave $JobName start_test @@ -26,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 @@ -50,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 *