]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/fixed-block-size-tape
ebl update and make it working
[bacula/bacula] / regress / tests / fixed-block-size-tape
index c1e5212eb2a764e31168056acc2ce9b3e824209d..7ba4d453b84e6fcefe1fdccdb727b52ee22d56be 100755 (executable)
@@ -8,9 +8,11 @@ TestName="fixed-block-size-tape"
 JobName=fixedblocksize
 . scripts/functions
 
+require_tape_drive
+
 copy_tape_confs
 
-echo "${cwd}/build" >/tmp/file-list
+echo "${cwd}/build" >${cwd}/tmp/file-list
 
 cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
 echo "s%# Maximum Block Size%  Maximum Block Size%" >${cwd}/tmp/2
@@ -29,10 +31,11 @@ change_jobname NightlySave $JobName
 start_test
 
 
-cat <<END_OF_DATA >tmp/bconcmds
+cat <<END_OF_DATA >${cwd}/tmp/bconcmds
 @$out /dev/null
 messages
-@$out tmp/log1.out
+@$out ${cwd}/tmp/log1.out
+setdebug level=51 storage=DDS-4
 label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
 run job=$JobName yes
 wait
@@ -40,7 +43,7 @@ messages
 @# 
 @# now do a restore
 @#
-@$out tmp/log2.out
+@$out ${cwd}/tmp/log2.out
 restore where=${cwd}/tmp/bacula-restores select storage=DDS-4
 unmark *
 mark *