]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Enhance virtual full testing functions
authorEric Bollengier <eric@baculasystems.com>
Mon, 30 May 2022 09:03:35 +0000 (11:03 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:58 +0000 (13:56 +0200)
regress/scripts/functions.pm

index cc97ff2983981bef2bd26f4a5fa5ebc3243551db..8ced43ff1e2b2642fee9bd63e0e2ba6247624ec0 100644 (file)
@@ -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");
 }