3 # Run a simple backup of the Bacula build directory
4 # then verify the catalog.
6 TestName="verify-vol-test"
13 scripts/copy-test-confs
14 echo "${cwd}/build" >/tmp/file-list
16 change_jobname NightlySave $JobName
19 cat <<END_OF_DATA >tmp/bconcmds
23 setdebug level=1 storage=File sd
24 label storage=File volume=TestVolume001
29 @# now do a verify volume
31 @$out ${cwd}/tmp/original
43 check_for_zombie_jobs storage=File
46 grep "^ Termination: *Backup OK" tmp/log1.out 2>&1 >/dev/null
48 grep "^ Termination: *Verify OK" ${cwd}/tmp/original 2>&1 >/dev/null