3 # Test the fill command in btape
5 TestName="btape-fill-full-tape"
9 scripts/copy-tape-confs
12 change_jobname $JobName
15 bin/btape -c bin/bacula-sd.conf DDS-4 <<END_OF_DATA 2>&1 >${cwd}/tmp/log1.out
23 grep "^The last block on the tape matches\. Test succeeded\." ${cwd}/tmp/log1.out 2>&1 >/dev/null
27 echo " !!!!! btape fill test failed!!! !!!!! "
28 echo " !!!!! btape fill test failed!!! !!!!! " >>test.out
31 echo " ===== btape fill test OK ===== "
32 echo " ===== btape fill test OK ===== " >>test.out