#!/bin/sh # # Run a simple backup of the Bacula build directory using the Sparse option # then restore it. # cwd=`pwd` scripts/copy-test-confs scripts/cleanup echo "${cwd}/build" >/tmp/file-list bin/bacula stop 2>&1 >/dev/null bin/drop_sqlite_tables bin/make_sqlite_tables echo " " echo " " echo " === Starting sparse-test ===" echo " === Starting sparse-test ===" >>working/log echo " " bin/bacula start bin/console -c bin/console.conf <>test.out echo " " else echo " ===== sparse-test Bacula source OK ===== " echo " ===== sparse-test OK ===== " >>test.out scripts/cleanup fi