3 # Test the fill command in btape
5 TestName="btape-fill-full-tape"
10 scripts/copy-tape-confs
13 change_jobname $JobName
16 bin/btape -c bin/bacula-sd.conf DDS-4 <<END_OF_DATA 2>&1 >tmp/log1.out
24 grep "^The last block on the tape matches\. Test succeeded\." tmp/log1.out 2>&1 >/dev/null
28 echo " !!!!! btape fill test failed!!! !!!!! "
29 echo " !!!!! btape fill test failed!!! !!!!! " >>test.out
32 echo " ===== btape fill test OK ===== "
33 echo " ===== btape fill test OK ===== " >>test.out