]> git.sur5r.net Git - bacula/bacula/commitdiff
regress: change /bin/sleep to sleep
authorEric Bollengier <eric@baculasystems.com>
Mon, 10 Sep 2012 19:41:56 +0000 (21:41 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:57 +0000 (14:50 +0200)
12 files changed:
regress/scripts/bacula-dir-2client.conf.in
regress/scripts/bacula-dir-fifo.conf.in
regress/scripts/bacula-dir-strip.conf.in
regress/scripts/bacula-dir-tape.conf.in
regress/scripts/bacula-dir-vtape.conf.in
regress/scripts/new-test-bacula-dir.conf.in
regress/scripts/plugin-test-bacula-dir.conf.in
regress/scripts/tls-auth-bacula-dir.conf.in
regress/scripts/tls-bacula-dir.conf.in
regress/tests/cancel-test
regress/tests/maxdev-test
regress/tests/vtape-bug-1288

index daf7eeef573396560a25e6861af1c33347cabb65..2017991238dbb39ad2e3624e128765727d3302d4 100644 (file)
@@ -72,7 +72,7 @@ Job {
   Maximum Concurrent Jobs = 4
   SpoolData = yes
 # Prefer Mounted Volumes = no
-  Client Run Before Job = "/bin/sleep 10"
+  Client Run Before Job = "sleep 10"
 }
 
 Job {
index 0241e702658a538fdaceb3408059fc093f7e4d14..a3be6ff647cc9a6a5f0f66783c9c6565919fcd19 100644 (file)
@@ -52,7 +52,7 @@ Job {
   Maximum Concurrent Jobs = 4
   SpoolData = yes
 # Prefer Mounted Volumes = no
-  Client Run Before Job = "/bin/sleep 120"
+  Client Run Before Job = "sleep 120"
 }
 
 Job {
index 90ecc0e483e1d63869af19fa3dc58dee67155e92..dffbbbaeb1d58773d8843b3491c3fb57beed03ed 100644 (file)
@@ -52,7 +52,7 @@ Job {
   Maximum Concurrent Jobs = 4
   SpoolData = yes
 # Prefer Mounted Volumes = no
-  Client Run Before Job = "/bin/sleep 10"
+  Client Run Before Job = "sleep 10"
 }
 
 Job {
index 18494e9c4e57cd3b7a36b725245301980241882c..cf1096fb9315fc031806900122b7aed1a1ff8630 100644 (file)
@@ -55,7 +55,7 @@ Job {
   Maximum Concurrent Jobs = 100
   SpoolData = yes
 # Prefer Mounted Volumes = no
-  Client Run Before Job = "/bin/sleep 10"
+  Client Run Before Job = "sleep 10"
   Max Run Time = 30min
 }
 
index 1d59ebf946ebf02d4e016f1c48e6e47ca019d14a..a4ebfc1036df263676d7b9e9b64d47c26ee17d4c 100644 (file)
@@ -43,7 +43,7 @@ Job {
   Maximum Concurrent Jobs = 10
   SpoolData = yes
 # Prefer Mounted Volumes = no
-  Client Run Before Job = "/bin/sleep 2"
+  Client Run Before Job = "sleep 2"
 }
 
 Job {
index d0febef52c2b96af5da496795dad8faaed3a206a..82e6030a1ffe25e43c052aae33f1b82829be995d 100644 (file)
@@ -169,7 +169,7 @@ Job {
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  ClientRunBeforeJob = "/bin/sleep 5"
+  ClientRunBeforeJob = "sleep 5"
   Max Run Time = 30min
 }
 
@@ -208,7 +208,7 @@ Job {
   Name = "bug621-job-1"
   Client = @hostname@-fd
   FileSet="Full Set"
-  ClientRunBeforeJob = "/bin/sleep 5"
+  ClientRunBeforeJob = "sleep 5"
 }
 
 Job {
index 44e95f9098d09df72a41896f4a121262f39aaa5c..db1badd96f8d8250f6952c14535d3855616b6238 100644 (file)
@@ -167,7 +167,7 @@ Job {
   Name = "bug621-job-1"
   Client = @hostname@-fd
   FileSet="Full Set"
-  ClientRunBeforeJob = "/bin/sleep 5"
+  ClientRunBeforeJob = "sleep 5"
 }
 
 Job {
index d1651c585b98d6f228b1d11fe1d422dbbd537cfc..88d735ba56c99a5fa233fdd679971c9f89657942 100644 (file)
@@ -108,7 +108,7 @@ Job {
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  ClientRunBeforeJob = "/bin/sleep 5"
+  ClientRunBeforeJob = "sleep 5"
 }
 
 
@@ -144,7 +144,7 @@ Job {
   Name = "bug621-job-1"
   Client = @hostname@-fd
   FileSet="Full Set"
-  ClientRunBeforeJob = "/bin/sleep 5"
+  ClientRunBeforeJob = "sleep 5"
 }
 
 Job {
index 129f83238406643c5ad7db53e7aef59cd916e3c8..0642823065607d54f1254abf25ea12a603cb930b 100644 (file)
@@ -119,7 +119,7 @@ Job {
   Messages = Standard
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  ClientRunBeforeJob = "/bin/sleep 5"
+  ClientRunBeforeJob = "sleep 5"
 }
 
 
@@ -155,7 +155,7 @@ Job {
   Name = "bug621-job-1"
   Client = localhost-fd
   FileSet="Full Set"
-  ClientRunBeforeJob = "/bin/sleep 5"
+  ClientRunBeforeJob = "sleep 5"
 }
 
 Job {
index 0ecfb8969edb9f6751d677c7246e16ff646d532c..f6167d6a009163527bb7b5e0e41ff82bdee4ee58 100755 (executable)
@@ -48,9 +48,9 @@ Job {
 }
 Job {
   Name = RUN_ERR3
-  ClientRunBeforeJob="/bin/sleep 10"
+  ClientRunBeforeJob="sleep 10"
   RunScript {
-    Command = "/bin/sleep 600"
+    Command = "sleep 600"
     RunsWhen = After
     RunsOnFailure = Yes
   }
@@ -58,9 +58,9 @@ Job {
 }
 Job {
   Name = RUN_ERR4
-  ClientRunBeforeJob="/bin/sleep 10"
+  ClientRunBeforeJob="sleep 10"
   RunScript {
-    Command = "/bin/sleep 40"
+    Command = "sleep 40"
     RunsWhen = After
     RunsOnFailure = Yes
   }
@@ -319,20 +319,20 @@ check_duration ${cwd}/tmp/logfile5.out 30
 check_duration ${cwd}/tmp/logfile6.out 30
 
 check_duration ${cwd}/tmp/logfile8.out 550 lt
-grep 'ClientAfterJob "/bin/sleep 600"' tmp/logfile8.out >/dev/null
+grep 'ClientAfterJob "sleep 600"' tmp/logfile8.out >/dev/null
 if [ $? -ne 0 ]; then
     print_debug "Can't find ClientAfterJob"
     bstat=2
 fi
 
 check_duration ${cwd}/tmp/logfile9.out 550 lt
-grep 'ClientAfterJob "/bin/sleep 600"' tmp/logfile9.out >/dev/null
+grep 'ClientAfterJob "sleep 600"' tmp/logfile9.out >/dev/null
 if [ $? -ne 0 ]; then
     print_debug "Can't find ClientAfterJob"
     bstat=2
 fi
 
-grep 'ClientAfterJob "/bin/sleep 40"' tmp/logfile10.out >/dev/null
+grep 'ClientAfterJob "sleep 40"' tmp/logfile10.out >/dev/null
 if [ $? -ne 0 ]; then
     print_debug "Can't find ClientAfterJob"
     bstat=2
index ceede3836fb034887f0a3706e4a42c5395de5983..981019fa6adb7b21e988ccc880820c7d828354cf 100755 (executable)
@@ -14,7 +14,7 @@ require_vtape
 
 scripts/cleanup
 scripts/copy-tape-confs
-sed 's:Job {:Job { ClientRunBeforeJob = "/bin/sleep 5":' \
+sed 's:Job {:Job { ClientRunBeforeJob = "sleep 5":' \
     $rscripts/bacula-dir-vtape.conf > $conf/bacula-dir.conf
 sed 's/VTape/VTape; maximum concurrent jobs = 3/' \
     $rscripts/bacula-sd-vtape.conf | \
index 757cdfd4d15a7a9e3ed509a5e1da0e85da9e4f82..ef7eedaf3b9629276d55417fbd50655a0011a0c5 100755 (executable)
@@ -26,7 +26,7 @@ sed -i 's/Pool {/Pool { LabelFormat = "vol"/' bin/bacula-dir.conf
 sed -i 's/SpoolData = yes/SpoolData = no/' bin/bacula-dir.conf
 sed -i 's/Maximum Volume Size = 30M//'  bin/bacula-sd.conf
 sed -i 's/Maximum File Size = 7M//'  bin/bacula-sd.conf
-sed -i 's!Client Run Before Job = "/bin/sleep 2"!!' bin/bacula-dir.conf
+sed -i 's!Client Run Before Job = "sleep 2"!!' bin/bacula-dir.conf
 scripts/prepare-fake-autochanger
 
 echo "${cwd}/build" >${cwd}/tmp/file-list