3 # Test the fill command in btape
5 TestName="btape-fill-full-tape"
11 scripts/copy-tape-confs
14 change_jobname $JobName
17 $bin/btape -c bin/bacula-sd.conf DDS-4 <<END_OF_DATA >${cwd}/tmp/log1.out 2>&1
25 grep "^The last block on the tape matches\. Test succeeded\." ${cwd}/tmp/log1.out >/dev/null 2>&1
29 echo " !!!!! btape fill test failed!!! !!!!! "
30 echo " !!!!! btape fill test failed!!! !!!!! " >>test.out
33 echo " ===== btape fill test OK ===== "
34 echo " ===== btape fill test OK ===== " >>test.out