X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fsparse-compressed-test;h=47e05e41c179819678fc5702212ba79406e3c5ff;hb=8a099c0f323ec73ab6114fc92fb693c2cdd6b9c7;hp=ffee7a05a93ac247deccf6d1ccf0396afbcea124;hpb=cac876e743b1fcbf3d9b008bc7a9eab37dc19676;p=bacula%2Fbacula diff --git a/regress/tests/sparse-compressed-test b/regress/tests/sparse-compressed-test index ffee7a05a9..47e05e41c1 100755 --- a/regress/tests/sparse-compressed-test +++ b/regress/tests/sparse-compressed-test @@ -3,54 +3,41 @@ # Run a simple backup of the Bacula build directory using the Sparse option # then restore it. # +TestName="sparse-compressed-test" +JobName=Sparse-conpressed +. scripts/functions + cwd=`pwd` +scripts/cleanup scripts/copy-test-confs -rm -rf /tmp/TestVolume001 /tmp/bacula-restores -echo "${cwd}/build" >/tmp/file-list -bin/bacula stop -bin/drop_sqlite_tables -bin/make_sqlite_tables +echo "${cwd}/build" >${cwd}/tmp/file-list -echo " " -echo " " -echo " === Starting sparse-compressed-test ===" -echo " " -echo " " +start_test -bin/bacula start -bin/console -c bin/console.conf <${cwd}/tmp/bconcmds <>test.out - echo " " -else - echo " ===== sparse-compressed-test Bacula source OK ===== " - echo " ===== sparse-compressed-test OK ===== " >>test.out -fi -rm -rf /tmp/bacula-restores +run_bacula +check_for_zombie_jobs storage=File +stop_bacula + +check_two_logs +check_restore_diff +end_test