]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/bacula-dir.conf.testrunscript.in
regress: fix typo
[bacula/bacula] / regress / scripts / bacula-dir.conf.testrunscript.in
index b2cab97a709c3d20046a72c413f6d8d05cbd4602..b23723c1c702e7b0c964a7ad84b5fc61a498ac67 100644 (file)
@@ -66,6 +66,38 @@ Job {
   }
 }
 
+# first, you need to unzip win32/win32_runscript.zip to c:/temp
+Job {
+  Name = "RUN_WIN32"
+  JobDefs = DefaultJob
+  FileSet = FS_TESTJOB
+  RunScript {                                              # 2.4 | 2.5 | cmd /c
+     Command = "c:\\temp\\test.bat"                        # ok  | ok  | ok
+     Command = "c:\\temp\\test.bat arg1"                   # ok  | ok  | ok
+     Command = "c:/temp/test.bat"                          # ok  | ok  | ok
+     Command = "c:/temp/test.bat arg1"                     # ok  | ok  | ok
+     Command = "c:/temp/test space.bat"                    # ok  | ok  | ok
+     Command = "c:/temp/test2 space.bat"                   # ok  | ok  | ok
+     Command = "\"c:/temp/test space.bat\" arg1"           # ok  | ok  | ok
+     Command = "\"c:/temp/dir space/test.bat\" arg1"       # ok  | ok  | ok
+     Command = "c:/temp/érïc/test.bat"                     # ERR | ok  | ok
+     Command = "c:/temp/érïc/test space.bat"               # ERR | ok  | ok
+     Command = "c:/temp/testé.bat"                         # ERR | ok  | ok
+     Command = "c:/temp/érïc/testé.bat"                    # ERR | ok  | ok
+     Command = "\"c:/temp/dir space/érïc/test.bat\""       # ERR | ERR | ok 
+     Command = "\"c:/temp/dir space/érïc/test space.bat\"" # ERR | ERR | ok 
+     Command = "c:/temp/test space.bat arg1"               # ERR | ERR | ERR
+     Command = "c:/temp/test2 space.bat arg1"              # ERR | ERR | ERR
+     Command = "c:/temp/dir space/érïc/test.bat"           # ERR | ERR | ERR 
+     Command = "c:/temp/dir space/test.bat"                # ERR | ERR | ERR
+     Command = "'c:/temp/dir space/test.bat'"              # ERR | ERR | ERR
+     Command = "\"c:/temp/éric space/test.bat\""           # ERR | ERR | ERR
+     Command = "c:/temp/éric space/test.bat"               # ERR | ERR | ERR
+     RunsWhen = Before
+     FailJobOnError = no
+  }
+}
+
 Job {
   Name = "RUN_SUBST"
   JobDefs = DefaultJob
@@ -131,7 +163,7 @@ Job {
 }
 
 #@hostname@-fd: ClientBeforeJob: run command "/bin/false RUN_FD_FAILED1"
-#we dont execute FAILED2 
+#we don't execute FAILED2 
 #@hostname@-dir: AfterJob: run command "/bin/echo RunAfterFailedJob"
 Job {
   Name = "RUN_FD_FAILED2"