3 # Run a simple backup of untitled15.jpg that fails to
4 # restore properly in bug #763
6 TestName="encrypt-bug-test"
12 scripts/copy-crypto-confs
13 file="${cwd}/encrypt-bug.jpg"
14 echo "${file}" >/tmp/file-list
16 change_jobname NightlySave $JobName
19 cat <<END_OF_DATA >tmp/bconcmds
23 label storage=File volume=TestVolume001
33 restore where=${cwd}/tmp/bacula-restores storage=File
46 check_for_zombie_jobs storage=File
50 du -s tmp/bacula-restores/
54 diff ${file} ${cwd}/tmp/bacula-restores/${file} 2>&1 >/dev/null