@$out /dev/null
messages
@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
+label storage=tape volume=TestVolume001 slot=0 pool=Default
@#update Volume=TestVolume001 MaxVolBytes=3000000
run job=$JobName yes
wait
@# now do a restore
@#
@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
+restore where=${cwd}/tmp/bacula-restores select all storage=tape done
yes
wait
messages
END_OF_DATA
run_bacula
-check_for_zombie_jobs storage=DDS-4
+check_for_zombie_jobs storage=tape
stop_bacula
check_two_logs