TestName="sparse-encrypt-test"
JobName=Crypto
. scripts/functions
-set_debug 0
+set_debug 1
scripts/cleanup
scripts/copy-crypto-confs
run job=$JobName yes
wait
messages
+list volumes
@#
@# now do a restore
@#
size=`du ${cwd}/tmp/bacula-restores/${cwd}/build/src/tools/gigaslam.gif | cut -f 1`
if [ $size -gt 120 ]; then
echo "========== restored sparse file: gigaslam.gif too big ========="
+ echo " size is ${size}K it should be 120K"
fi
check_two_logs