X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fsparse-test;h=f04f2f60091147356419ab5238f1e14ae60083df;hb=bc9bcb7ab6bf9f2f343a920dced350713a0cf4aa;hp=b8ed84ef8096baffe5d2148e4262cae30dd3a428;hpb=c37d94ac16c7b3c019e2b665c45c9141943987e0;p=bacula%2Fbacula diff --git a/regress/tests/sparse-test b/regress/tests/sparse-test index b8ed84ef80..f04f2f6009 100755 --- a/regress/tests/sparse-test +++ b/regress/tests/sparse-test @@ -5,7 +5,7 @@ # cwd=`pwd` scripts/copy-test-confs -rm -rf /tmp/TestVolume001 /tmp/bacula-restores +scripts/cleanup echo "${cwd}/build" >/tmp/file-list bin/bacula stop 2>&1 >/dev/null bin/drop_sqlite_tables @@ -14,6 +14,7 @@ bin/make_sqlite_tables echo " " echo " " echo " === Starting sparse-test ===" +echo " === Starting sparse-test ===" >>working/log echo " " bin/bacula start @@ -40,7 +41,7 @@ messages quit END_OF_DATA bin/bacula stop -diff -ur build /tmp/bacula-restores${cwd}/build +diff -r build /tmp/bacula-restores${cwd}/build if [ $? != 0 ] ; then echo " " echo " " @@ -50,5 +51,5 @@ if [ $? != 0 ] ; then else echo " ===== sparse-test Bacula source OK ===== " echo " ===== sparse-test OK ===== " >>test.out - rm -rf /tmp/bacula-restores /tmp/TestVolume001 + scripts/cleanup fi