From: Frank Gevaerts Date: Tue, 19 Apr 2016 20:02:49 +0000 (+0200) Subject: restore: test --sparse with zeros at 64k boundary X-Git-Tag: 0.27.1-rc1~1^2~1 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=bup.git;a=commitdiff_plain;h=8dffb6342ec6880bf5ce5761c5ebb28349c55d78 restore: test --sparse with zeros at 64k boundary bup restore --sparse fails with short zero runs around 64K boundaries. The new testcase reproduces that failure Signed-off-by: Frank Gevaerts Reviewed-by: Rob Browning [rlb@defaultvalue.org: adjust commit summary] --- diff --git a/t/test-sparse-files.sh b/t/test-sparse-files.sh index ce06d8f..3b2558f 100755 --- a/t/test-sparse-files.sh +++ b/t/test-sparse-files.sh @@ -141,5 +141,20 @@ WVPASS rm -r restore WVPASS bup restore --sparse -C restore "src/latest/$(pwd)/" WVPASS "$top/t/compare-trees" -c src/ restore/src/ +WVSTART "sparse file restore --sparse (short zero runs around boundary)" +WVPASS python > src/foo <