3 # Run a simple backup of the Bacula build directory using the compressed option
6 TestName="compressed-test"
11 scripts/copy-test-confs
12 echo "${cwd}/build" >${cwd}/tmp/file-list
14 change_jobname CompressedTest $JobName
17 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
20 @$out ${cwd}/tmp/log1.out
24 label storage=File volume=TestVolume001
25 run job=$JobName storage=File yes
31 @$out ${cwd}/tmp/log2.out
32 restore where=${cwd}/tmp/bacula-restores select storage=File
44 check_for_zombie_jobs storage=File
49 grep " Software Compression" ${cwd}/tmp/log1.out | grep "%" 2>&1 1>/dev/null
51 echo " !!!!! No compression !!!!!"