3 # Run a simple backup of the Bacula build directory using the compressed option
7 scripts/copy-test-confs
8 rm -rf /tmp/TestVolume001 /tmp/bacula-restores
9 echo "${cwd}/build" >/tmp/file-list
11 bin/drop_sqlite_tables
12 bin/make_sqlite_tables
16 echo " === Starting compressed-test ==="
21 bin/console -c bin/console.conf <<END_OF_DATA
27 run job=CompressedTest
44 diff -ur build /tmp/bacula-restores${cwd}/build
48 echo " ===== compressed-test Bacula source failed!!! ===== "
49 echo " ===== compressed-test failed!!! ===== " >>test.out
52 echo " ===== compressed-test Bacula source OK ===== "
53 echo " ===== compressed-test OK ===== " >>test.out
55 rm -rf /tmp/bacula-restores