# Test the fill command in btape
#
cwd=`pwd`
-bin/bacula stop 2>&1 >/dev/null
scripts/copy-tape-confs
scripts/cleanup-tape
+
echo "${cwd}/build" >/tmp/file-list
-cd bin
-./drop_bacula_tables >/dev/null 2>&1
-./make_bacula_tables >/dev/null 2>&1
-./grant_bacula_privileges 2>&1 >/dev/null
-cd ..
+
cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
sed "s%# MaximumVolumeSize% MaximumVolumeSize%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
echo " "
echo " "
-echo " === Starting btape fill test ==="
-echo " === Starting btape fill test ===" >>working/log
+echo " === Starting btape fill test at `date +%R:%S` ==="
+echo " === Starting btape fill test at `date +%R:%S` ===" >>working/log
echo " "
-
+exit
bin/btape -c bin/bacula-sd.conf DDS-4 <<END_OF_DATA 2>&1 >tmp/log1.out
fill
s