3 # Run a simple backup of the Bacula build directory using the compressed option
6 TestName="compressed-test"
12 scripts/copy-test-confs
13 echo "${cwd}/build" >/tmp/file-list
15 change_jobname CompressedTest $JobName
18 cat <<END_OF_DATA >tmp/bconcmds
25 label storage=File volume=TestVolume001
26 run job=$JobName storage=File yes
33 restore where=${cwd}/tmp/bacula-restores select storage=File
45 check_for_zombie_jobs storage=File
50 grep " Software Compression" tmp/log1.out | grep "%" 2>&1 1>/dev/null
52 echo " !!!!! No compression !!!!!"