]> git.sur5r.net Git - bacula/bacula/commitdiff
Make test-plugin regression test work
authorKern Sibbald <kern@sibbald.com>
Wed, 7 Apr 2010 19:25:45 +0000 (21:25 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:50:30 +0000 (16:50 +0200)
regress/scripts/plugin-test-bacula-dir.conf.in
regress/tests/test-plugin-test

index 7a94c5ae611688c9da69c908b2a7cd84d5d672e0..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)
@@ -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"
index c1fe9aad22eda38d2a1fe07c9f72f85ff6823658..3327ff1bb9dea02017d600b68ba230c557492bc9 100755 (executable)
@@ -5,7 +5,7 @@
 #   testing
 #
 TestName="test-plugin-test"
-JobName=TestpluginTest
+JobName=TestPluginTest
 . scripts/functions
 
 scripts/cleanup
@@ -53,6 +53,8 @@ run_bconsole
 
 stop_bacula
 
+exit 0
+
 # ****FIXME**** test if the restore of the two files is OK
 
 #