From: Leon Brocard Date: Mon, 28 Sep 2009 13:24:57 +0000 (+0100) Subject: Check that sparse files hold at least a block (bug in eCryptfs: https://bugs.launchpa... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=411c7dd7840a88fadfd96f0cb8264278810eb9fc;p=p5sagit%2Fp5-mst-13.2.git Check that sparse files hold at least a block (bug in eCryptfs: https://bugs.launchpad.net/ecryptfs/+bug/390833) --- diff --git a/t/op/lfs.t b/t/op/lfs.t index 2de965f..df9323f 100644 --- a/t/op/lfs.t +++ b/t/op/lfs.t @@ -117,7 +117,8 @@ print "# s2 = @s2\n"; zap(); unless ($s1[7] == 1_000_003 && $s2[7] == 2_000_003 && - $s1[11] == $s2[11] && $s1[12] == $s2[12]) { + $s1[11] == $s2[11] && $s1[12] == $s2[12] && + $s1[12] > 0) { print "1..0 # Skip: no sparse files?\n"; bye; }