# to a tape where we set the minimum and maximum block
# sizes.
#
-TestName="fixed-block-size-1t1d-tape"
+TestName="fixed-block-size-tape"
JobName=fixedblocksize
. scripts/functions
@$out /dev/null
messages
@$out ${cwd}/tmp/log1.out
-setdebug level=51 storage=DDS-4
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
+setdebug level=51 storage=tape
+label storage=tape volume=TestVolume001 slot=0 pool=Default
run job=$JobName yes
wait
messages
@# now do a restore
@#
@$out ${cwd}/tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=DDS-4
+restore where=${cwd}/tmp/bacula-restores select storage=tape
unmark *
mark *
done
yes
wait
messages
-@$out
quit
END_OF_DATA
run_bacula
-check_for_zombie_jobs storage=DDS-4
+check_for_zombie_jobs storage=tape
stop_bacula
check_two_logs