3 # Test that reproduce bug 1227
11 scripts/copy-tape-confs
14 echo "${cwd}/build" >${cwd}/tmp/file-list
16 change_jobname NightlySave $JobName
20 # Write out bconsole commands
21 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
24 @$out ${cwd}/tmp/log1.out
25 label storage=tape volume=TestVolume001 slot=0 pool=Default
32 FILE=`awk '/Archive Device = / { print $4 }' bin/bacula-sd.conf`
35 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
36 @$out ${cwd}/tmp/log1.out
41 setdebug level=400 storage=tape trace=1
42 setdebug level=400 director trace=1
43 label storage=tape volume=TestVolume002 slot=0 pool=Default
46 mount storage=tape slot=0
50 mount storage=tape slot=0
60 check_for_zombie_jobs storage=tape
63 touch ${cwd}/tmp/log2.out