]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: add the dedup driver version to the variant name
authorAlain Spineux <alain@baculasystems.com>
Mon, 16 Nov 2020 16:00:22 +0000 (17:00 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 4 Feb 2021 14:50:20 +0000 (15:50 +0100)
- the variant is displayed in the "Start" message of any regress when
  dedup is enable, see below for before/after output
  B === Start dedup-cmd-test Dedup(bothsides,fdcache=no) at 08:46:50 ===
  A === Start dedup-cmd-test Dedup(Legacy,bothsides,fdcache=no) at 08:46:..

regress/scripts/functions

index f39ef47f890eb0a64741048dfa7046d0f16f8e75..b2cce65e8c5230d66a32e1bcbdcb6b49e1665b84 100755 (executable)
@@ -194,7 +194,7 @@ EOF
       if [ x$DEDUP_FD_CACHE = xyes ]; then
             $bperl -e 'add_attribute("$conf/bacula-fd.conf", "DedupIndexDirectory", "$working/ddefd", "FileDaemon")'
       fi
-      variant_name="Dedup($DEDUP_FS_OPTION,fdcache=$DEDUP_FD_CACHE)"
+      variant_name="Dedup($DEDUP_DRIVER,$DEDUP_FS_OPTION,fdcache=$DEDUP_FD_CACHE)"
       devicetype=`expr $devicetype + 1`
    fi
    if [ x$FORCE_SDCALLS = xyes ]; then