forked from Lainports/opnsense-ports
16 lines
513 B
Text
16 lines
513 B
Text
--- t/test-sparse-files.sh.orig 2017-05-14 11:27:06 UTC
|
|
+++ t/test-sparse-files.sh
|
|
@@ -31,6 +31,13 @@ if [ "$probe_size" -ge "$((data_size / 1
|
|
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
|