]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/sparse-encrypt-test
Update
[bacula/bacula] / regress / tests / sparse-encrypt-test
index 5a20ae6b5c3cdcbb178b8111968fecb772f6165e..3893dae71ab8a2405e8077d1e55668b58db89db9 100755 (executable)
@@ -6,7 +6,7 @@
 TestName="sparse-encrypt-test"
 JobName=Crypto
 . scripts/functions
-set_debug 0
+set_debug 1
 
 scripts/cleanup
 scripts/copy-crypto-confs
@@ -31,6 +31,7 @@ setdebug level=10 fd
 run job=$JobName yes
 wait
 messages
+list volumes
 @# 
 @# now do a restore
 @#
@@ -55,6 +56,7 @@ stop_bacula
 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