3 # Test if Bacula can automatically create a Volume label.
6 TestName="auto-label-test"
12 echo "${cwd}/build" >${cwd}/tmp/file-list
14 cp ${cwd}/bin/bacula-dir.conf ${cwd}/tmp/1
15 sed "s%# Label Format% Label Format%" ${cwd}/tmp/1 >${cwd}/bin/bacula-dir.conf
17 change_jobname CompressedTest $JobName
20 cat <<END_OF_SCRIPT >${cwd}/tmp/bconcmds
23 @$out ${cwd}/tmp/log1.out
28 @#setdebug level=110 storage=File
29 run job=$JobName storage=File yes
37 @$out ${cwd}/tmp/log2.out
38 @#setdebug level=400 storage=File
39 restore where=${cwd}/tmp/bacula-restores select storage=File
60 check_for_zombie_jobs storage=File || exit 1