]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Allow to run all tests with SDCheckPacket
authorEric Bollengier <eric@baculasystems.com>
Fri, 5 Mar 2021 18:08:40 +0000 (19:08 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:01 +0000 (09:03 +0100)
regress/scripts/functions

index bb656bbacc68ae30032c105502bb18a6904ca543..200c2c17e61fbe2c4b51ae34aae673ad390bf014 100755 (executable)
@@ -222,6 +222,10 @@ EOF
        $bperl -e 'add_attribute("$conf/bacula-dir.conf", "SpoolAttributes", "No", "Job")'
        variant_name="${variant_name} NoSpoolAttributes"
    fi
+   if [ x$FORCE_SDPACKETCHECK = xyes ]; then
+       $bperl -e 'add_attribute("$conf/bacula-fd.conf", "SDPacketCheck", "500", "FileDaemon")'
+       variant_name="${variant_name} SDCheckPacket"
+   fi
    if [ x$FORCE_ENCRYPTION = xyes ]; then
        $bperl -e 'setup_fd_encryption()'
        variant_name="${variant_name} Encryption"