]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Add test to reproduce #9569
authorEric Bollengier <eric@baculasystems.com>
Tue, 18 Oct 2022 15:32:22 +0000 (17:32 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:59 +0000 (13:56 +0200)
regress/tests/restore-by-file-test

index e55b79897252235be62f101eec13c0049f15cc66..93f14139761e078283a3c846c52dbfacb8bee79c 100755 (executable)
@@ -22,6 +22,7 @@ cd ${cwd}/tmp/build
 ls >../1
 cd ..
 sed s%\^%${cwd}/tmp/build/% 1 | sort | uniq >restore-list
+echo $tmp/build/fr.po >> restore-list
 rm -f 1
 cd ${cwd}
 
@@ -36,6 +37,10 @@ label storage=File volume=TestVolume001
 run job=$JobName yes
 wait
 messages
+@exec "cp $cwd/build/po/fr.po $tmp/build"
+run job=$JobName yes
+wait
+messages
 @# 
 @# now run 10 restores
 @#