]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/bacula-dir.conf.testrunscript.in
Exit if zombie jobs or log errors
[bacula/bacula] / regress / scripts / bacula-dir.conf.testrunscript.in
index 651f4f572dbdf826b304068da11fa20ef55dd098..522a7fde22f34e507f53324f2639a896fc437724 100644 (file)
@@ -98,12 +98,12 @@ Job {
 
   Run After Failed Job = "/bin/echo RunAfterFailedJob"
   RunScript {
-    Command = "/bin/echo touching /tmp/RUN_FD_FAILED"
+    Command = "/bin/echo touching @tmpdir@/RUN_FD_FAILED"
     RunsWhen = after
     RunsOnFailure = yes
   }
   RunScript {
-    Command = "/bin/touch /tmp/RUN_FD_FAILED"
+    Command = "/bin/touch @tmpdir@/RUN_FD_FAILED"
     RunsWhen = after
     RunsOnFailure = yes
   }
@@ -150,12 +150,30 @@ Job {
   Run After Failed Job = "/bin/echo RunAfterFailedJob"
 }
 
+FileSet {
+ Name = FS_FIFO
+ Include {
+   Options { readfifo = yes }
+   File=</tmp/file-list
+ }
+}
+
 Job {
-  Name = BUG_FATAL
+  Name = BUG_897
   JobDefs = DefaultJob
-  FileSet = FS_TESTJOB
-}
+  FileSet = FS_FIFO
 
+  RunScript {
+    Command = "/bin/echo touching /tmp/RUN_BUG_897"
+    RunsWhen = after
+    RunsOnFailure = yes
+  }
+  RunScript {
+    Command = "/bin/touch /tmp/RUN_BUG_897"
+    RunsWhen = after
+    RunsOnFailure = yes
+  }
+}
 
 # Client (File Services) to backup
 Client {