]> 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, 24 Mar 2022 08:02:59 +0000 (09:02 +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 0f94bdc6f1fd8d67896fb920344f8315f482dbfb..3f364d2c4cfe2e8f1ff2ce0dd8ffb119619c052e 100755 (executable)
@@ -195,7 +195,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