]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/data-encrypt-test
Final changes
[bacula/bacula] / regress / tests / data-encrypt-test
index e2b6c9036606b254cce9bfd97c5a719c8a024b06..d184c9737bf64150444a9a9352ea19cf8f582c97 100755 (executable)
@@ -1,17 +1,19 @@
 #!/bin/sh
 #
-# Run a simple backup (with encryption) of the Bacula build directory
-#   then verify the signatures.
+# Run a simple backup with encryption and no other options 
+#    (i.e. no compression and no sparse handling) of the 
+#    Bacula build directory.
 #
 TestName="data-encrypt-test"
 JobName=Crypto
 . scripts/functions
-set_debug 1
+set_debug 0
 
 scripts/cleanup
 scripts/copy-crypto-confs
 echo "${cwd}/build" >/tmp/file-list
 
+change_jobname NightlySave $JobName
 start_test
 
 cat <<END_OF_DATA >tmp/bconcmds
@@ -19,7 +21,7 @@ cat <<END_OF_DATA >tmp/bconcmds
 messages
 @$out tmp/log1.out
 label storage=File volume=TestVolume001
-setdebug level=300 fd
+@#setdebug level=10 fd
 run job=$JobName yes
 wait
 messages
@@ -27,7 +29,7 @@ messages
 @# now do a restore
 @#
 @$out tmp/log2.out
-setdebug level=0 fd
+@#setdebug level=10 fd
 restore where=${cwd}/tmp/bacula-restores storage=File
 5
 mark *
@@ -44,6 +46,10 @@ sleep 2
 check_for_zombie_jobs storage=File 
 stop_bacula
 
+du -s build
+du -s tmp/bacula-restores/
+
+
 check_two_logs
 check_restore_diff
 end_test