[PATCH 3/3] test-import-duplicity: explicitly disable encryption

0 views
Skip to first unread message

Rob Browning

unread,
Nov 19, 2025, 5:27:15 PM (3 days ago) Nov 19
to bup-...@googlegroups.com
Invoke duplicity with --no-encryption to avoid failures since the
tests don't need or want encryption, and without this the test failed
on a FreeBSD host in CI with a passphrase related error. Could be that
somehow PASSPHRASE was set in the environment there.

Signed-off-by: Rob Browning <r...@defaultvalue.org>
Tested-by: Rob Browning <r...@defaultvalue.org>
---

Pushed to main.

test/ext/test-import-duplicity | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/ext/test-import-duplicity b/test/ext/test-import-duplicity
index 806d7604..919cd0d4 100755
--- a/test/ext/test-import-duplicity
+++ b/test/ext/test-import-duplicity
@@ -12,7 +12,7 @@ top="$(WVPASS pwd)" || exit $?
tmpdir="$(WVPASS wvmktempdir)" || exit $?

bup() { "$top/bup" "$@"; }
-dup() { duplicity --archive-dir "$tmpdir/dup-cache" "$@"; }
+dup() { duplicity --no-encryption --archive-dir "$tmpdir/dup-cache" "$@"; }

WVSTART "import-duplicity"
WVPASS "$top/dev/sync-tree" "$top/test/sampledata/" "$tmpdir/src/"
--
2.47.3

Reply all
Reply to author
Forward
0 new messages