From b859b92c8aa2bfaebd2a15ef7309399eebcdfb37 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 2 May 2007 10:32:27 +0000 Subject: [PATCH] Update encryption test git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4673 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/tests/encrypt-bug-test | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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 -- 2.39.5