Maximum Concurrent Jobs = 4
SpoolData = yes
# Prefer Mounted Volumes = no
- Client Run Before Job = "/bin/sleep 10"
+ Client Run Before Job = "sleep 10"
}
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 {
Maximum Concurrent Jobs = 4
SpoolData = yes
# Prefer Mounted Volumes = no
- Client Run Before Job = "/bin/sleep 10"
+ Client Run Before Job = "sleep 10"
}
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
}
Maximum Concurrent Jobs = 10
SpoolData = yes
# Prefer Mounted Volumes = no
- Client Run Before Job = "/bin/sleep 2"
+ Client Run Before Job = "sleep 2"
}
Job {
Messages = Standard
Pool = Default
Write Bootstrap = "@working_dir@/NightlySave.bsr"
- ClientRunBeforeJob = "/bin/sleep 5"
+ ClientRunBeforeJob = "sleep 5"
Max Run Time = 30min
}
Name = "bug621-job-1"
Client = @hostname@-fd
FileSet="Full Set"
- ClientRunBeforeJob = "/bin/sleep 5"
+ ClientRunBeforeJob = "sleep 5"
}
Job {
Name = "bug621-job-1"
Client = @hostname@-fd
FileSet="Full Set"
- ClientRunBeforeJob = "/bin/sleep 5"
+ ClientRunBeforeJob = "sleep 5"
}
Job {
Messages = Standard
Pool = Default
Write Bootstrap = "@working_dir@/NightlySave.bsr"
- ClientRunBeforeJob = "/bin/sleep 5"
+ ClientRunBeforeJob = "sleep 5"
}
Name = "bug621-job-1"
Client = @hostname@-fd
FileSet="Full Set"
- ClientRunBeforeJob = "/bin/sleep 5"
+ ClientRunBeforeJob = "sleep 5"
}
Job {
Messages = Standard
Pool = Default
Write Bootstrap = "@working_dir@/NightlySave.bsr"
- ClientRunBeforeJob = "/bin/sleep 5"
+ ClientRunBeforeJob = "sleep 5"
}
Name = "bug621-job-1"
Client = localhost-fd
FileSet="Full Set"
- ClientRunBeforeJob = "/bin/sleep 5"
+ ClientRunBeforeJob = "sleep 5"
}
Job {
}
Job {
Name = RUN_ERR3
- ClientRunBeforeJob="/bin/sleep 10"
+ ClientRunBeforeJob="sleep 10"
RunScript {
- Command = "/bin/sleep 600"
+ Command = "sleep 600"
RunsWhen = After
RunsOnFailure = Yes
}
}
Job {
Name = RUN_ERR4
- ClientRunBeforeJob="/bin/sleep 10"
+ ClientRunBeforeJob="sleep 10"
RunScript {
- Command = "/bin/sleep 40"
+ Command = "sleep 40"
RunsWhen = After
RunsOnFailure = Yes
}
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
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 | \
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