From: Eric Bollengier Date: Mon, 30 May 2022 09:03:35 +0000 (+0200) Subject: regress: Enhance virtual full testing functions X-Git-Tag: Beta-15.0.0~568 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cc6e631b9b18857f323eff0da7e3d64a8b86d5f;p=thirdparty%2Fbacula.git regress: Enhance virtual full testing functions --- diff --git a/regress/scripts/functions.pm b/regress/scripts/functions.pm index cc97ff298..8ced43ff1 100644 --- a/regress/scripts/functions.pm +++ b/regress/scripts/functions.pm @@ -2429,6 +2429,7 @@ Device { Drive Index = $nb AlwaysOpen = yes; RemovableMedia = yes; + Label Media = yes } "; } @@ -2452,6 +2453,7 @@ Device { add_attribute("$tmp/1", "Device", $name, "Storage"); add_attribute("$tmp/1", "MaximumConcurrentJobs", $nb_drives+1, "Storage", $name); add_attribute("$tmp/1", "Media Type", "${name}Type", "Storage"); + add_attribute("$tmp/1", "LabelFornat", "Vol", "Pool",); system("cat $tmp/1 >> $conf/bacula-dir.conf"); }