3 # Test if Bacula can automatically create a Volume label.
6 TestName="auto-label-test"
12 echo "${cwd}/build" >/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 >tmp/bconcmds
28 @#setdebug level=110 storage=File
29 run job=$JobName storage=File yes
38 restore where=${cwd}/tmp/bacula-restores select storage=File
59 check_for_zombie_jobs storage=File