]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/hardlink-test
update
[bacula/bacula] / regress / tests / hardlink-test
index 42e38bcddec069d08b35c3e33233ae7153461613..f556f889d453015a455c2b0ebae25dea2bd5fb47 100755 (executable)
@@ -6,7 +6,6 @@
 TestName="hardlink-test"
 JobName=hardlink
 . scripts/functions
-set_debug 0
 
 if test ! -d weird-files ; then
    echo " "
@@ -24,15 +23,15 @@ change_jobname NightlySave $JobName
 #  that are only saved once.  In 1.33, Bacula now deals
 #  with this situation.
 #
-echo "${cwd}/weird-files" >/tmp/file-list
-echo "${cwd}/weird-files" >>/tmp/file-list
+echo "${cwd}/weird-files" >${cwd}/tmp/file-list
+echo "${cwd}/weird-files" >>${cwd}/tmp/file-list
 
 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
 label storage=File
 TestVolume001
 run job=$JobName    
@@ -42,7 +41,8 @@ messages
 @# 
 @# now do a restore
 @#
-@$out tmp/log2.out
+@$out ${cwd}/tmp/log2.out
+setdebug level=200 client=localhost-fd
 restore where=${cwd}/tmp/bacula-restores storage=File
 5
 cd ${cwd}/weird-files/subdir