3 # Run a simple backup of the Bacula build directory using the compressed option
11 scripts/copy-test-confs
12 echo "${cwd}/build" >${cwd}/tmp/file-list
16 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
19 @$out ${cwd}/tmp/log1.out
23 label storage=File volume=TestVolume001
24 run job=LZOTest storage=File yes
30 @$out ${cwd}/tmp/log2.out
31 restore where=${cwd}/tmp/bacula-restores select storage=File
42 check_for_zombie_jobs storage=File
47 grep " Software Compression" ${cwd}/tmp/log1.out | grep "%" 2>&1 1>/dev/null
49 echo " !!!!! No compression !!!!!"