3 # Test the fill command in btape
5 TestName="btape-fill-1t1d-tape"
11 echo "${cwd}/build" >${cwd}/tmp/file-list
13 cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
14 sed "s%# MaximumVolumeSize% MaximumVolumeSize%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
18 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
26 grep "^The last block on the tape matches\. Test succeeded\." ${cwd}/tmp/log1.out 2>&1 >/dev/null
30 echo " !!!!! btape fill test failed!!! !!!!! "
31 echo " !!!!! btape fill test failed!!! !!!!! " >>test.out
34 echo " ===== btape fill test OK ===== "
35 echo " ===== btape fill test OK ===== " >>test.out