]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: copy-job-test fix SpoolData directive setup using SPOOLDATA_JOB
authorAlain Spineux <alain@baculasystems.com>
Fri, 17 Jul 2020 08:57:02 +0000 (10:57 +0200)
committerEric Bollengier <eric@baculasystems.com>
Tue, 1 Mar 2022 14:36:17 +0000 (15:36 +0100)
- SPOOLDATA_RUN was erroneously controlling the directive too

regress/tests/copy-job-test

index b551e8faff7e1a828414ae2c8c2e3d23a64ca3ab..ebdc5dc9830ff57dde66483e507d16d07e4c4278 100755 (executable)
@@ -44,7 +44,6 @@ fi
 SPOOLDATA_RUN=${SPOOLDATA_RUN:-default}
 if [ "$SPOOLDATA_RUN" = "yes" ] ; then
    run_spooldata="spooldata=yes"
-   $bperl -e "add_attribute('$conf/bacula-dir.conf', 'SpoolData', 'yes', 'Job', 'copy-job')"
 elif [ "$SPOOLDATA_RUN" = "no" ] ; then
    run_spooldata="spooldata=no"
 else