]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/lib-tape-root
Update
[bacula/bacula] / regress / tests / lib-tape-root
index ea9667cadbd5afb97aec429bf32f1bfc01fff1ef..06289cd1d4df0688c835e5ec76b6b6d4d5faa583 100755 (executable)
@@ -5,11 +5,14 @@
 #
 cwd=`pwd`
 bin/bacula stop 2>&1 >/dev/null
-bin/drop_sqlite_tables
-bin/make_sqlite_tables
+cd bin
+./drop_bacula_tables >/dev/null 2>&1
+./make_bacula_tables >/dev/null 2>&1
+./grant_bacula_privileges 2>&1 >/dev/null
+cd ..
 
-scripts/copy-tape-confs
 scripts/cleanup-tape
+scripts/copy-tape-confs
 echo "/lib" >/tmp/file-list
 echo " "
 echo " "
@@ -29,7 +32,7 @@ messages
 @# now do a restore
 @#
 @output tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all
+restore where=${cwd}/tmp/bacula-restores select all done
 yes
 wait
 messages