summaryrefslogtreecommitdiff
path: root/archivers/py-bup/files/patch-test_ext_test-sparse-files
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2022-03-02 18:49:36 +0100
committerThierry Thomas <thierry@FreeBSD.org>2022-03-26 10:20:18 +0100
commit8a56a24e868fd924c4f5fb511b31dcdcfbe7aec2 (patch)
tree7840885fb2dc24132145a660dd1f59a02267dec1 /archivers/py-bup/files/patch-test_ext_test-sparse-files
parentmail/dovecot-fts-xapian: Update to 1.5.4 (diff)
archivers/py-bup: upgrade to 0.32
This release should work with Python-3.9. Release notes at <https://github.com/bup/bup/blob/master/note/0.32-from-0.31.md>. PR: 262303 Approved by: maintainer’s time-out
Diffstat (limited to 'archivers/py-bup/files/patch-test_ext_test-sparse-files')
-rw-r--r--archivers/py-bup/files/patch-test_ext_test-sparse-files15
1 files changed, 15 insertions, 0 deletions
diff --git a/archivers/py-bup/files/patch-test_ext_test-sparse-files b/archivers/py-bup/files/patch-test_ext_test-sparse-files
new file mode 100644
index 000000000000..08f6217a45df
--- /dev/null
+++ b/archivers/py-bup/files/patch-test_ext_test-sparse-files
@@ -0,0 +1,15 @@
+--- test/ext/test-sparse-files.orig 2021-01-09 22:11:10 UTC
++++ test/ext/test-sparse-files
+@@ -31,6 +31,12 @@ if [ "$probe_size" -ge "$((data_size / 1024))" ]; then
+ exit 0
+ fi
+
++if [ "$(current-filesystem)" == "zfs" ]; then
++ WVSTART "WARNING!! If zfs compression is enabled in the current " \
++ "filesytem, sparse test might fail!!. " \
++ " See https://groups.google.com/forum/#!topic/bup-list/NZCJ5wHwbFE"
++fi
++
+ WVSTART "sparse restore on $(current-filesystem), assuming ${block_size}B blocks"
+
+ WVPASS bup init