From: Kern Sibbald Date: Sat, 29 Oct 2011 12:27:28 +0000 (+0200) Subject: Make PurgeMigrationJob directive name correspond to doc X-Git-Tag: Release-7.0.0~507 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a1390a55d5e3c11435e43ad3cef04d8baa19355e;p=bacula%2Fbacula Make PurgeMigrationJob directive name correspond to doc --- diff --git a/bacula/src/dird/dird_conf.c b/bacula/src/dird/dird_conf.c index 211f4d81cf..6bd1caa0b3 100644 --- a/bacula/src/dird/dird_conf.c +++ b/bacula/src/dird/dird_conf.c @@ -312,7 +312,7 @@ RES_ITEM job_items[] = { {"prunejobs", store_bool, ITEM(res_job.PruneJobs), 0, ITEM_DEFAULT, false}, {"prunefiles", store_bool, ITEM(res_job.PruneFiles), 0, ITEM_DEFAULT, false}, {"prunevolumes",store_bool, ITEM(res_job.PruneVolumes), 0, ITEM_DEFAULT, false}, - {"purgemigratejob", store_bool, ITEM(res_job.PurgeMigrateJob), 0, ITEM_DEFAULT, false}, + {"purgemigrationjob", store_bool, ITEM(res_job.PurgeMigrateJob), 0, ITEM_DEFAULT, false}, {"enabled", store_bool, ITEM(res_job.enabled), 0, ITEM_DEFAULT, true}, {"spoolattributes",store_bool, ITEM(res_job.SpoolAttributes), 0, ITEM_DEFAULT, false}, {"spooldata", store_bool, ITEM(res_job.spool_data), 0, ITEM_DEFAULT, false}, diff --git a/regress/tests/migration-job-purge-test b/regress/tests/migration-job-purge-test index 843b30eb7d..518b63c961 100755 --- a/regress/tests/migration-job-purge-test +++ b/regress/tests/migration-job-purge-test @@ -1,7 +1,7 @@ #!/bin/sh # # Run a simple backup of the Bacula build directory then migrate it -# to another device, and see if PurgeMigrateJob works as expected. +# to another device, and see if PurgeMigrationJob works as expected. # # This script uses the virtual disk autochanger # @@ -17,7 +17,7 @@ echo "${cwd}/build" >${cwd}/tmp/file-list change_jobname NightlySave $JobName -$bperl -e 'add_attribute("$conf/bacula-dir.conf", "PurgeMigrateJob", "yes", "Job", "migrate-job")' +$bperl -e 'add_attribute("$conf/bacula-dir.conf", "PurgeMigrationJob", "yes", "Job", "migrate-job")' start_test