X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fdata-encrypt-test;h=581b8a219cb42b332f9660b320faf30603b151c7;hb=d3d524b80871384388c3d7cbd2df9b00d054851f;hp=20e868b05583d19feea2c3c75e0cecfbb892f288;hpb=4c561d139c62096df3c62eac820021971d047c97;p=bacula%2Fbacula diff --git a/regress/tests/data-encrypt-test b/regress/tests/data-encrypt-test index 20e868b055..581b8a219c 100755 --- a/regress/tests/data-encrypt-test +++ b/regress/tests/data-encrypt-test @@ -1,23 +1,24 @@ #!/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 scripts/cleanup scripts/copy-crypto-confs -echo "${cwd}/build" >/tmp/file-list +echo "${cwd}/build" >${cwd}/tmp/file-list +change_jobname NightlySave $JobName start_test -cat <tmp/bconcmds +cat <${cwd}/tmp/bconcmds @$out /dev/null messages -@$out tmp/log1.out +@$out ${cwd}/tmp/log1.out label storage=File volume=TestVolume001 @#setdebug level=10 fd run job=$JobName yes @@ -26,7 +27,7 @@ messages @# @# now do a restore @# -@$out tmp/log2.out +@$out ${cwd}/tmp/log2.out @#setdebug level=10 fd restore where=${cwd}/tmp/bacula-restores storage=File 5 @@ -44,6 +45,9 @@ sleep 2 check_for_zombie_jobs storage=File stop_bacula +du -s build +du -s ${cwd}/tmp/bacula-restores/ + check_two_logs check_restore_diff end_test