3 # Run a simple backup of the Bacula build directory
4 # to a tape where we set the minimum and maximum block
7 TestName="fixed-block-size-tape"
15 echo "${cwd}/build" >${cwd}/tmp/file-list
17 cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
18 echo "s%# Maximum Block Size% Maximum Block Size%" >${cwd}/tmp/2
19 echo "s%# Minimum Block Size% Minimum Block Size%" >>${cwd}/tmp/2
20 sed -f ${cwd}/tmp/2 ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
24 echo "!!!! sed problem in Fixed Block Size test !!!!!"
28 rm -f ${cwd}/tmp/1 ${cwd}/tmp/2
30 change_jobname NightlySave $JobName
34 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
37 @$out ${cwd}/tmp/log1.out
38 setdebug level=51 storage=DDS-4
39 label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
46 @$out ${cwd}/tmp/log2.out
47 restore where=${cwd}/tmp/bacula-restores select storage=DDS-4
59 check_for_zombie_jobs storage=DDS-4