File: 0009-fix-dar-test-update-path-for-dar-2.7.17-changes.patch

package info (click to toggle)
backup-manager 0.7.14-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,656 kB
  • sloc: sh: 4,041; perl: 1,176; makefile: 215
file content (33 lines) | stat: -rw-r--r-- 1,103 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From: Maximiliano Curia <maxy@gnuservers.com.ar>
Date: Fri, 11 Apr 2025 16:27:12 +0200
Subject: fix (dar/test): update path for dar 2.7.17 changes

The latest dar release changed the way the prune paths are handled, in
particular, a trailling slash is no longer supported.

See: https://github.com/Edrusb/DAR/commit/503326bf8735d8eab48d4ff0ab9c000ffa031dec
---
 t/t10-tarball-dar-blacklist.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/t/t10-tarball-dar-blacklist.sh b/t/t10-tarball-dar-blacklist.sh
index 2e15a1e..7005aec 100644
--- a/t/t10-tarball-dar-blacklist.sh
+++ b/t/t10-tarball-dar-blacklist.sh
@@ -2,7 +2,6 @@
 
 set -e
 
-
 source testlib.sh
 #verbose="true"
 #warnings="true"
@@ -17,7 +16,7 @@ export BM_TARBALL_NAMEFORMAT="long"
 export BM_TARBALL_FILETYPE="dar"
 export BM_TARBALL_DUMPSYMLINKS="no"
 export BM_TARBALL_DIRECTORIES="$PWD/var/www/"
-export BM_TARBALL_BLACKLIST="$PWD/var/www/xim $PWD/var/www/Upload/ /tmp/ titi"
+export BM_TARBALL_BLACKLIST="$PWD/var/www/xim $PWD/var/www/Upload /tmp titi"
 source $locallib/sanitize.sh
 
 if [[ ! -x $dar ]]; then