]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/bacula-dir.conf.testrunscript.in
Commit win32 regression patch from Michael Short
[bacula/bacula] / regress / scripts / bacula-dir.conf.testrunscript.in
index 522a7fde22f34e507f53324f2639a896fc437724..abd107053cd4d778edeb55e6ba5f1d3474e82f04 100644 (file)
@@ -14,7 +14,7 @@
 
 Director {                            # define myself
   Name = @hostname@-dir
-  DIRport = 8101                # where we listen for UA connections
+  DIRPort = @dirport@                # where we listen for UA connections
   QueryFile = "@scriptdir@/query.sql"
   WorkingDirectory = "@working_dir@"
   PidDirectory = "@piddir@"
@@ -40,7 +40,7 @@ JobDefs {
 FileSet {
  Name = FS_TESTJOB
  Include {
-   File=</tmp/file-list
+   File=<@tmpdir@/file-list
  }
 }
 
@@ -154,7 +154,7 @@ FileSet {
  Name = FS_FIFO
  Include {
    Options { readfifo = yes }
-   File=</tmp/file-list
+   File=<@tmpdir@/file-list
  }
 }
 
@@ -164,12 +164,12 @@ Job {
   FileSet = FS_FIFO
 
   RunScript {
-    Command = "/bin/echo touching /tmp/RUN_BUG_897"
+    Command = "/bin/echo touching @tmpdir@/RUN_BUG_897"
     RunsWhen = after
     RunsOnFailure = yes
   }
   RunScript {
-    Command = "/bin/touch /tmp/RUN_BUG_897"
+    Command = "/bin/touch @tmpdir@/RUN_BUG_897"
     RunsWhen = after
     RunsOnFailure = yes
   }
@@ -179,7 +179,7 @@ Job {
 Client {
   Name = @hostname@-fd
   Address = @hostname@
-  FDPort = 8102
+  FDPort = @fdport@
   Catalog = MyCatalog
   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
   File Retention = 30d                # 30 days
@@ -192,7 +192,7 @@ Client {
 Storage {
   Name = File
   Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
+  SDPort = @sdport@
   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
   Device = FileStorage
   Media Type = File