3 # Test the fill command in btape
5 TestName="btape-fill-tape"
12 echo "${cwd}/build" >/tmp/file-list
14 cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
15 sed "s%# MaximumVolumeSize% MaximumVolumeSize%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
19 cat <<END_OF_DATA >tmp/bconcmds
28 grep "^The last block on the tape matches\. Test succeeded\." tmp/log1.out 2>&1 >/dev/null
32 echo " !!!!! btape fill test failed!!! !!!!! "
33 echo " !!!!! btape fill test failed!!! !!!!! " >>test.out
36 echo " ===== btape fill test OK ===== "
37 echo " ===== btape fill test OK ===== " >>test.out