]> git.sur5r.net Git - bacula/bacula/commitdiff
Make PurgeMigrationJob directive name correspond to doc
authorKern Sibbald <kern@sibbald.com>
Sat, 29 Oct 2011 12:27:28 +0000 (14:27 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:08 +0000 (14:50 +0200)
bacula/src/dird/dird_conf.c
regress/tests/migration-job-purge-test

index 211f4d81cfbebdb9768ee41c25aca444fc039b6a..6bd1caa0b33ffe1532467885bad9091297c34e35 100644 (file)
@@ -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},
index 843b30eb7dcc1454f2df1e80ec954f49c8ed2a28..518b63c961cf17d328340d3bab6055e46fb75528 100755 (executable)
@@ -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