X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fencrypt-bug-test;h=93f2b2ef3502a4128ffddde955ab38badfbb0683;hb=86e786f4fb2faf7c9487a0bf4633371cbb57b759;hp=77077d730761918f5761b509d106e5e354f0e055;hpb=ad4b97b2fc77cc797158cf4742badbe085b78b56;p=bacula%2Fbacula diff --git a/regress/tests/encrypt-bug-test b/regress/tests/encrypt-bug-test index 77077d7307..93f2b2ef35 100755 --- a/regress/tests/encrypt-bug-test +++ b/regress/tests/encrypt-bug-test @@ -6,15 +6,14 @@ TestName="encrypt-bug-test" JobName=Crypto-bug . scripts/functions -set_debug 0 scripts/cleanup scripts/copy-crypto-confs -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 -echo "${cwd}/encrypt-bug2.txt" >>/tmp/file-list +echo "${cwd}/encrypt-bug.jpg" >${cwd}/tmp/file-list +echo "${cwd}/encrypt-bug.jpg" >${cwd}/tmp/restore-list +echo "${cwd}/encrypt-bug.txt" >>${cwd}/tmp/file-list +echo "${cwd}/encrypt-bug.txt" >>${cwd}/tmp/restore-list +echo "${cwd}/encrypt-bug2.txt" >>${cwd}/tmp/file-list echo "${cwd}/encrypt-bug2.txt" >>${cwd}/tmp/restore-list files="encrypt-bug.jpg encrypt-bug.txt encrypt-bug2.txt" mkdir -p ${cwd}/tmp/build @@ -25,10 +24,10 @@ done 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=100 fd run job=$JobName yes @@ -37,7 +36,7 @@ messages @# @# now do a restore @# -@$out tmp/log2.out +@$out ${cwd}/tmp/log2.out setdebug level=100 fd restore where=${cwd}/tmp/bacula-restores storage=File 5 @@ -56,7 +55,7 @@ check_for_zombie_jobs storage=File stop_bacula du -s build -du -s tmp/bacula-restores/ +du -s ${cwd}/tmp/bacula-restores/ check_two_logs