]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: tweak tests/encrypt-bug-test
authorAlain Spineux <alain@baculasystems.com>
Tue, 21 Nov 2023 09:18:59 +0000 (10:18 +0100)
committerEric Bollengier <eric@baculasystems.com>
Tue, 13 Feb 2024 09:36:02 +0000 (10:36 +0100)
- don't work if you have for example a file
  xxx/regress/encrypt-bug.jpg.save

regress/tests/encrypt-bug-test

index b396b17bfe5939fdc71f4c78fe48e34ce5113a36..b43a426975186c872422f66d6e6e8cee510adab3 100755 (executable)
@@ -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