echo "Start all non-root tape tests" >>test.out
nice tests/ansi-label-1t1d-tape
nice tests/backup-bacula-1t1d-tape
-nice tests/btape-fill-1t1d-tape
+nice tests/btape-fill-full-tape
nice tests/fixed-block-size-1t1d-tape
nice tests/four-concurrent-jobs-1t1d-tape
nice tests/four-jobs-1t1d-tape
@# now do a restore
@#
@$out ${cwd}/tmp/log2.out
+@#setdebug level=400 storage=File
restore where=${cwd}/tmp/bacula-restores select storage=File
unmark *
mark *
@output /dev/null
messages
@$out ${cwd}/tmp/log1.out
+setdebug level=100 storage=File
label volume=TestVolume001 storage=File pool=Default
-@#setdebug level=100 storage=File
run job=$JobName yes
status storage=File
status storage=File
label storage=File1 volume=TestVolume002
update Volume=TestVolume001 MaxVolBytes=3000000
@#setdebug level=400 dir
-@#setdebug level=400 storage=File1
+setdebug level=400 storage=File1
run job=$JobName storage=File1 yes
wait
messages
@$out /dev/null
messages
@$out ${cwd}/tmp/log1.out
+setdebug level=100 storage=File
label storage=File volume=TestVolume002
label storage=File volume=TestVolume001
run job=$JobName yes
@output /dev/null
messages
@$out ${cwd}/tmp/log1.out
-@#setdebug level=100 storage=DDS-4
+setdebug level=100 storage=DDS-4
label storage=DDS-4 volume=TestVolume001 slot=1 pool=Default drive=0
label storage=DDS-4 volume=TestVolume002 slot=2 Pool=Default drive=0
update Volume=TestVolume001 VolUse=30