]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/auto-label-test
Add more debug
[bacula/bacula] / regress / tests / auto-label-test
index 4a952b4f95eb2aa6653bd8687471fb111dc0a762..e709b600ec86cde86357dc88b2ef3b4e1fa0db4e 100755 (executable)
@@ -9,7 +9,7 @@ JobName=AutoLabel
 
 copy_test_confs
 
-echo "${cwd}/build" >/tmp/file-list
+echo "${cwd}/build" >${cwd}/tmp/file-list
 
 cp ${cwd}/bin/bacula-dir.conf ${cwd}/tmp/1
 sed "s%# Label Format%  Label Format%" ${cwd}/tmp/1 >${cwd}/bin/bacula-dir.conf
@@ -17,10 +17,10 @@ sed "s%# Label Format%  Label Format%" ${cwd}/tmp/1 >${cwd}/bin/bacula-dir.conf
 change_jobname CompressedTest $JobName
 start_test
 
-cat <<END_OF_SCRIPT >tmp/bconcmds
+cat <<END_OF_SCRIPT >${cwd}/tmp/bconcmds
 @output /dev/null
 messages
-@$out tmp/log1.out
+@$out ${cwd}/tmp/log1.out
 status all
 status all
 list pools
@@ -34,7 +34,8 @@ messages
 @# 
 @# now do a restore
 @#
-@$out tmp/log2.out
+@$out ${cwd}/tmp/log2.out
+@#setdebug level=400 storage=File
 restore where=${cwd}/tmp/bacula-restores select storage=File
 unmark *
 mark *