]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/plugin-test-bacula-dir.conf.in
regress: Add function to change Max Concurrent Jobs
[bacula/bacula] / regress / scripts / plugin-test-bacula-dir.conf.in
index 19eb090402bbac3c5f0771f64e7b0da941faf57f..44e95f9098d09df72a41896f4a121262f39aaa5c 100644 (file)
@@ -124,6 +124,16 @@ Job {
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
 }
 
+Job {
+  Name = "TestPluginTest"
+  Type = Backup
+  Client=@hostname@-fd 
+  FileSet="TestPluginSet"
+  Storage = File
+  Messages = Standard
+  Pool = Default
+  Write Bootstrap = "@working_dir@/NightlySave.bsr"
+}
 
 
 # Backup the catalog database (after the nightly save)
@@ -157,7 +167,7 @@ Job {
   Name = "bug621-job-1"
   Client = @hostname@-fd
   FileSet="Full Set"
-  ClientRunBeforeJob = "/bin/sleep 60"
+  ClientRunBeforeJob = "/bin/sleep 5"
 }
 
 Job {
@@ -227,6 +237,20 @@ FileSet {
   }
 }
 
+FileSet {
+  Name = "TestPluginSet"
+  Include {
+    Options {
+      readfifo = yes
+      signature=MD5 
+    }
+    File = <@tmpdir@/file-list
+    Plugin = "test-plugin:/@test-plugin@/encrypt-bug.jpg:cat @builddir@/../encrypt-bug.jpg:cat >@tmpdir@/encrypt-bug.jpg"
+    Plugin = "test-plugin:/@test-plugin@/Makefile:cat @builddir@/../Makefile:cat >@tmpdir@/Makefile"
+  }
+}
+
+
 
 FileSet {
   Name = "SparseCompressedSet"