]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/small-file-size-tape
Add new more stringent maxvol2 test
[bacula/bacula] / regress / tests / small-file-size-tape
index 9c68cad1ebaee864221d63a7ee2157e403c687e4..d6e8163a9aeed69bd3524502c8d15f3991d52a08 100755 (executable)
@@ -6,21 +6,20 @@
 TestName="small-file-size-tape"
 JobName=smallfilesize
 . scripts/functions
-set_debug 0
 
 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
 sed "s%# Maximum File Size%  Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
 
 change_jobname NightlySave $JobName
 start_test
 
-cat <<END_OF_DATA >tmp/bconcmds
+cat <<END_OF_DATA >${cwd}/tmp/bconcmds
 @output /dev/null
 messages
-@$out tmp/log1.out
+@$out ${cwd}/tmp/log1.out
 label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
 setdebug level=2 storage=DDS-4
 run job=$JobName yes
@@ -29,7 +28,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 *