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 Sparse option
11 TestName="sparse-compressed-test"
12 JobName=Sparse-conpressed
17 scripts/copy-test-confs
18 echo "${cwd}/build" >${cwd}/tmp/file-list
22 cat >${cwd}/tmp/bconcmds <<END_OF_DATA
25 @$out ${cwd}/tmp/log1.out
26 label storage=File volume=TestVolume001
27 run job=SparseCompressedTest yes
33 @$out ${cwd}/tmp/log2.out
34 restore where=${cwd}/tmp/bacula-restores select all storage=File done
42 check_for_zombie_jobs storage=File