X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fusr-tape-root;h=dbc0ed9daf9050f2e0b1ff3eba1881da48d4eb4e;hb=fd7101218fa0a6a4bf69db51770fbe18b3ec2aad;hp=95206c8870482272e6f8420fbf7fe0717e4eb354;hpb=f2f906bef8f5b7236d2f5eef14858089260f0e2e;p=bacula%2Fbacula diff --git a/regress/tests/usr-tape-root b/regress/tests/usr-tape-root index 95206c8870..dbc0ed9daf 100755 --- a/regress/tests/usr-tape-root +++ b/regress/tests/usr-tape-root @@ -4,23 +4,22 @@ # then restore it. # cwd=`pwd` -bin/bacula stop 2>&1 >/dev/null -bin/drop_sqlite_tables -bin/make_sqlite_tables - +. scripts/functions scripts/copy-tape-confs scripts/cleanup-tape -echo "/usr" >/tmp/file-list +echo "/usr" >${cwd}/tmp/file-list + echo " " echo " " echo " === Starting usr-tape-root test ===" echo " " echo " " + bin/bacula start 2>&1 >/dev/null bin/bconsole -c bin/bconsole.conf <&1 >/dev/null @@ -54,8 +53,8 @@ diff tmp/original tmp/restored 2>&1 1>/dev/nul if [ $? != 0 ] ; then echo " " echo " " - echo " ===== usr-tape-root failed!!! ===== " - echo " ===== usr-tape-root failed!!! ===== " >>test.out + echo " ===== !!!! usr-tape-root failed !!!! ===== " + echo " ===== !!!! usr-tape-root failed !!!! ===== " >>test.out echo " " else echo " ===== usr-tape-root OK ===== "