From: Alain Spineux Date: Tue, 21 Nov 2023 09:18:59 +0000 (+0100) Subject: regress: tweak tests/encrypt-bug-test X-Git-Tag: Beta-15.0.1~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58f58fc1efe0ad608ddedada5b78b2b9ee997075;p=thirdparty%2Fbacula.git regress: tweak tests/encrypt-bug-test - don't work if you have for example a file xxx/regress/encrypt-bug.jpg.save --- diff --git a/regress/tests/encrypt-bug-test b/regress/tests/encrypt-bug-test index b396b17bf..b43a42697 100755 --- a/regress/tests/encrypt-bug-test +++ b/regress/tests/encrypt-bug-test @@ -23,7 +23,7 @@ echo "${cwd}/encrypt-bug2.txt" >>${cwd}/tmp/restore-list files="encrypt-bug.jpg encrypt-bug.txt encrypt-bug2.txt" mkdir -p ${cwd}/tmp/build for i in ${files}; do - cp -p ${cwd}/encrypt-bug*.* ${cwd}/tmp/build + cp -p ${i} ${cwd}/tmp/build done change_jobname NightlySave $JobName