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"
13 echo "${cwd}/build" >/tmp/file-list
15 cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
16 echo "s%# Maximum Block Size% Maximum Block Size%" >${cwd}/tmp/2
17 echo "s%# Minimum Block Size% Minimum Block Size%" >>${cwd}/tmp/2
18 sed -f ${cwd}/tmp/2 ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
22 echo "!!!! sed problem in Fixed Block Size test !!!!!"
26 rm -f ${cwd}/tmp/1 ${cwd}/tmp/2
28 change_jobname NightlySave $JobName
32 cat <<END_OF_DATA >tmp/bconcmds
36 label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
44 restore where=${cwd}/tmp/bacula-restores select storage=DDS-4
56 check_for_zombie_jobs storage=DDS-4