summaryrefslogtreecommitdiff
path: root/archivers/py-bup/files/patch-test_ext_test-sparse-files
blob: 08f6217a45dfc8805d86e43a22101dd1b35089f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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