3 # Run a simple backup of the Bacula build directory using the compressed option
4 # then backup a second time and finally restore it
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
14 bin/console -c bin/console.conf <<END_OF_DATA
19 run job=CompressedTest
26 touch ${cwd}/build/src/dird/*.c
27 bin/console -c bin/console.conf <<END_OF_DATA
28 run job=CompressedTest
46 diff -ur build /tmp/bacula-restores${cwd}/build
50 echo " ===== two-jobs-test Bacula source failed!!! ===== "
51 echo " ===== two-jobs-test failed!!! ===== " >>test.out
54 echo " ===== two-jobs-test Bacula source OK ===== "
55 echo " ===== two-jobs-test OK ===== " >>test.out
57 rm -rf /tmp/bacula-restores