]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/bscan-test
update
[bacula/bacula] / regress / tests / bscan-test
index b39a242f4edb4c0f97a3124da24d77cd1b9fb537..92f8ec6229eeab6c350c88fa8f009f140c8615fb 100755 (executable)
@@ -60,10 +60,10 @@ echo "volume=TestVolume002" >>tmp/bscan.bsr
 bscan_libdbi
 
 # If the database has a password pass it to bscan
-if test "x${db_passwd}" = "x"; then
+if test "x${db_password}" = "x"; then
   PASSWD=
 else
-  PASSWD="-P ${db_passwd}"
+  PASSWD="-P ${db_password}"
 fi
 
 if test "$debug" -eq 1 ; then
@@ -80,7 +80,7 @@ messages
 @# now do a restore
 @#
 @#setdebug level=400 storage=File1
-restore bootstrap=tmp/kern.bsr where=tmp/bacula-restores select all storage=File1 done
+restore bootstrap=${cwd}/tmp/kern.bsr where=${cwd}/tmp/bacula-restores select all storage=File1 done
 yes
 wait
 messages