3 # Test the fill command in btape
6 scripts/copy-tape-confs
11 echo " === Starting btape fill test ==="
12 echo " === Starting btape fill test ===" >>working/log
15 bin/btape -c bin/bacula-sd.conf DDS-4 <<END_OF_DATA 2>&1 >tmp/log1.out
23 grep "^The last block on the tape matches\. Test succeeded\." 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