From: Kern Sibbald Date: Wed, 2 May 2007 10:32:27 +0000 (+0000) Subject: Update encryption test X-Git-Tag: Release-7.0.0~6456 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b859b92c8aa2bfaebd2a15ef7309399eebcdfb37;p=bacula%2Fbacula Update encryption test git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4673 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/tests/encrypt-bug-test b/regress/tests/encrypt-bug-test index f39f036a79..0bba2c6185 100755 --- a/regress/tests/encrypt-bug-test +++ b/regress/tests/encrypt-bug-test @@ -10,8 +10,15 @@ set_debug 0 scripts/cleanup scripts/copy-crypto-confs -file="${cwd}/encrypt-bug.jpg" -echo "${file}" >/tmp/file-list +echo "${cwd}/encrypt-bug.jpg" >/tmp/file-list +echo "${cwd}/encrypt-bug.jpg" >${cwd}/tmp/restore-list +echo "${cwd}/encrypt-bug.txt" >>/tmp/file-list +echo "${cwd}/encrypt-bug.txt" >>${cwd}/tmp/restore-list +files="encrypt-bug.jpg encrypt-bug.txt" +mkdir -p ${cwd}/tmp/build +for i in ${files}; do + cp -p ${cwd}/encrypt-bug.* ${cwd}/tmp/build +done change_jobname NightlySave $JobName start_test @@ -51,6 +58,6 @@ du -s tmp/bacula-restores/ check_two_logs -diff ${file} ${cwd}/tmp/bacula-restores/${file} 2>&1 >/dev/null +diff ${cwd}/tmp/build ${cwd}/tmp/bacula-restores/${cwd} 2>&1 >/dev/null dstat=$? end_test