]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/span-vol-test
ebl Add multiple command test for runscript
[bacula/bacula] / regress / tests / span-vol-test
index c5ec6395401d5b5a1b3fdf234145ada295fb861b..d687c7d5268bc038e87f1540848371dbdfbbca77 100755 (executable)
@@ -8,20 +8,18 @@
 TestName="span-vol-test"
 JobName=SpanVol
 . scripts/functions
-set_debug 0
 
-cwd=`pwd`
 scripts/cleanup
 scripts/copy-test-confs
-echo "${cwd}/build" >/tmp/file-list
+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 *