3 # Copyright (C) 2000-2015 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
9 TestName="eot-fail-tape"
16 scripts/copy-tape-confs
18 echo "${cwd}/build" >${cwd}/tmp/file-list
20 outf="${cwd}/tmp/sed_tmp"
21 echo "s%# Maximum File Size% Maximum File Size%g" >${outf}
22 cp -f ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
23 sed -f ${outf} ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
25 change_jobname $JobName
28 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
32 label storage=tape volume=TestVolume001 slot=0 pool=Default
33 @#update Volume=TestVolume001 MaxVolBytes=3000000
41 restore where=${cwd}/tmp/bacula-restores select all storage=tape done
49 check_for_zombie_jobs storage=tape