]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/compressed-test
Add execute bit on errors-test
[bacula/bacula] / regress / tests / compressed-test
index ba0a8debcaf3731cc92b6551dc5504080b4eab71..2cbe9087c385426ca879376a5daafc9caaff5fa1 100755 (executable)
@@ -6,10 +6,9 @@
 TestName="compressed-test"
 JobName=compressed
 . scripts/functions
-set_debug 0
 
-scripts/copy-test-confs
 scripts/cleanup
+scripts/copy-test-confs
 echo "${cwd}/build" >/tmp/file-list
 
 change_jobname CompressedTest $JobName
@@ -47,4 +46,9 @@ stop_bacula
 
 check_two_logs
 check_restore_diff
+grep " Software Compression" tmp/log1.out | grep "%" 2>&1 1>/dev/null
+if [ $? != 0 ] ; then
+   echo "  !!!!! No compression !!!!!"
+   bstat=1
+fi
 end_test