X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Flib-tape-root;h=06289cd1d4df0688c835e5ec76b6b6d4d5faa583;hb=a7ab346a9c1beba75998cae5f071ddc819be62a4;hp=ea9667cadbd5afb97aec429bf32f1bfc01fff1ef;hpb=a8b9586bf314ed146b28a924b96023e8d6b1f837;p=bacula%2Fbacula diff --git a/regress/tests/lib-tape-root b/regress/tests/lib-tape-root index ea9667cadb..06289cd1d4 100755 --- a/regress/tests/lib-tape-root +++ b/regress/tests/lib-tape-root @@ -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