From 3b01f2490247bbe7225ef51d0d38ed75a4f0ee35 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 11 Jan 2011 15:32:41 +0100 Subject: [PATCH] regress: test script with spaces --- regress/scripts/win32-bacula-dir.conf.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/regress/scripts/win32-bacula-dir.conf.in b/regress/scripts/win32-bacula-dir.conf.in index 7c30d54568..9e10c25a91 100644 --- a/regress/scripts/win32-bacula-dir.conf.in +++ b/regress/scripts/win32-bacula-dir.conf.in @@ -77,11 +77,13 @@ Job { SpoolData = yes RunScript { - Command = "c:\\tmp\\weird_runscript\\test.bat" # ok | ok | ok - Command = "c:/tmp/weird_runscript/test.bat" # ok | ok | ok - Command = "c:/tmp/weird_runscript/testé.bat" # ok | ok | ok - Command = "c:\\tmp\\weird_runscript\\testé.bat" # ok | ok | ok - Command = "\"c:\\tmp\\weird_runscript\\test space.bat\"" # ok | ok | ok + Command = "c:\\tmp\\weird_runscript\\test.bat" # ok | ok | ok + Command = "c:/tmp/weird_runscript/test.bat" # ok | ok | ok + Command = "\"c:/tmp/weird_runscript/dir space/test.bat\"" # ok | ok | ok + Command = "\"c:/tmp/weird_runscript/dir space/test2 space.bat\"" # ok|ok|ok + Command = "c:/tmp/weird_runscript/testé.bat" # ok | ok | ok + Command = "c:\\tmp\\weird_runscript\\testé.bat" # ok | ok | ok + Command = "\"c:\\tmp\\weird_runscript\\test space.bat\"" # ok | ok | ok RunsWhen = AfterVSS FailJobOnError = no } -- 2.39.5