JobName=truncatebug
. scripts/functions
-set_debug 0
-copy_tape_confs
+require_tape_drive
-echo "${cwd}/build" >/tmp/file-list
+scripts/copy-tape-confs
+scripts/cleanup-tape
+
+echo "${cwd}/build" >${cwd}/tmp/file-list
change_jobname NightlySave $JobName
start_test
@$out tmp/log1.out
label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
@# do a bunch of saves so we have 12 files on the tape
+@#setdebug level=100 dir
+setdebug level=100 storage=DDS-4
run job=$JobName yes
run level=Full job=$JobName yes
run level=Full job=$JobName yes
run level=Full job=$JobName yes
run level=Full job=$JobName yes
run level=Full job=$JobName yes
-@#setdebug level=100 storage=DDS-4
wait
messages
quit