]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/span-vol-test
Update
[bacula/bacula] / regress / tests / span-vol-test
index 21f0026b7cf9985b6179dac9de3726dd316c5f35..d687c7d5268bc038e87f1540848371dbdfbbca77 100755 (executable)
@@ -8,20 +8,18 @@
 TestName="span-vol-test"
 JobName=SpanVol
 . scripts/functions
-set_debug 0
 
-cwd=`pwd`
-scripts/copy-test-confs
 scripts/cleanup
-echo "${cwd}/build" >/tmp/file-list
-change_jobname $JobName
+scripts/copy-test-confs
+echo "${cwd}/build" >${cwd}/tmp/file-list
 
+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=File1 volume=TestVolume004
 label storage=File1 volume=TestVolume003
 label storage=File1 volume=TestVolume002
@@ -36,7 +34,7 @@ messages
 @# 
 @# now do a restore
 @#
-@$out tmp/log2.out
+@$out ${cwd}/tmp/log2.out
 restore where=${cwd}/tmp/bacula-restores select storage=File1
 unmark *
 mark *