3 # Run a backup of the build directory but force it to have
4 # a comm error, and check that it restarts correctly.
6 TestName="restart-job-test"
11 scripts/copy-test-confs
12 echo "${cwd}/build" >${cwd}/tmp/file-list
14 change_jobname NightlySave $JobName
17 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
20 @$out ${cwd}/tmp/log1.out
21 setdebug level=0 trace=0 hangup=100 client
22 @#setdebug level=20 dir
23 label storage=File volume=TestVolume001
32 scripts/check_for_zombie_jobs storage=File
34 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
40 @$out ${cwd}/tmp/log2.out
41 restore where=$tmp/bacula-restores storage=File select all done
49 scripts/check_for_zombie_jobs storage=File