3 # Copyright (C) 2000-2015 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
8 # Run a simple backup of the Bacula build directory using the compressed option
16 scripts/copy-test-confs
17 echo "${cwd}/build" >${cwd}/tmp/file-list
21 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
24 @$out ${cwd}/tmp/log1.out
28 label storage=File volume=TestVolume001
29 run job=LZOTest storage=File yes
35 @$out ${cwd}/tmp/log2.out
36 restore where=${cwd}/tmp/bacula-restores select storage=File
47 check_for_zombie_jobs storage=File
52 grep " Software Compression" ${cwd}/tmp/log1.out | grep "%" 2>&1 1>/dev/null
54 echo " !!!!! No compression !!!!!"