From: Eric Bollengier Date: Fri, 26 May 2023 07:45:12 +0000 (+0200) Subject: regress: Add FORCE_SPOOL_DATA X-Git-Tag: Beta-15.0.0~184 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49eb38b07386457d3664dec6c5b674a8b68805ff;p=thirdparty%2Fbacula.git regress: Add FORCE_SPOOL_DATA --- diff --git a/regress/scripts/functions b/regress/scripts/functions index 2c97c969f..05ee29cf2 100755 --- a/regress/scripts/functions +++ b/regress/scripts/functions @@ -240,6 +240,11 @@ EOF $bperl -e 'add_attribute("$conf/bacula-dir.conf", "SpoolAttributes", "No", "Job")' variant_name="${variant_name} NoSpoolAttributes" fi + if [ x$FORCE_SPOOL_DATA = xyes ]; then + $bperl -e 'add_attribute("$conf/bacula-dir.conf", "SpoolData", "yes", "Job")' + $bperl -e "add_attribute('$conf/bacula-sd.conf', 'MaximumJobSpoolSize', '5MB', 'Device')" + variant_name="${variant_name} SpoolData" + fi if [ x$FORCE_SDPACKETCHECK = xyes ]; then $bperl -e 'add_attribute("$conf/bacula-fd.conf", "SDPacketCheck", "500", "FileDaemon")' variant_name="${variant_name} SDCheckPacket"