]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Fix sd-sd-test with DedupDriver
authorEric Bollengier <eric@baculasystems.com>
Fri, 13 Nov 2020 21:02:36 +0000 (22:02 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:02:59 +0000 (09:02 +0100)
regress/tests/sd-sd-test

index c155a455b02605d5d0a155be53ea317cd9308695..cfa8317b482e2f99e7a48123f2db10a1dbd3a264 100755 (executable)
@@ -35,7 +35,8 @@ $bperl -e "add_attribute('$conf/bacula-sd2.conf', 'SDPort', '$PORT', 'Storage')"
 $bperl -e "add_attribute('$conf/bacula-sd2.conf', 'Media Type', 'DiskChangerMedia2', 'Device', 'Drive-0')"
 $bperl -e "add_attribute('$conf/bacula-sd2.conf', 'Media Type', 'File2', 'Device', 'FileStorage')"
 if [ x$FORCE_DEDUP = xyes ]; then
-   DEDUP_FS_OPTION=${DEDUP_FS_OPTION:-bothsides}
+    DEDUP_FS_OPTION=${DEDUP_FS_OPTION:-bothsides}
+    DEDUP_DRIVER=${DEDUP_DRIVER:-legacy}
    $bperl -e 'add_attribute("$conf/bacula-sd2.conf", "Plugin Directory", "$plugins", "Storage")'
    $bperl -e 'add_attribute("$conf/bacula-sd2.conf", "Device Type", "Dedup", "Device")'
    $bperl -e 'add_attribute("$conf/bacula-sd2.conf", "Dedupengine", "Dedupengine-sd2", "Device")'