summaryrefslogtreecommitdiff
path: root/t/op/lfs.t
diff options
context:
space:
mode:
authorLeon Brocard <acme@astray.com>2009-09-28 14:24:57 +0100
committerLeon Brocard <acme@astray.com>2009-09-28 14:24:57 +0100
commit411c7dd7840a88fadfd96f0cb8264278810eb9fc (patch)
treeaaeda160d4814bdc159799d5ab608341056e7de2 /t/op/lfs.t
parent23c4d79e42d547624749cd6dbf539e7969e2d373 (diff)
downloadperl-411c7dd7840a88fadfd96f0cb8264278810eb9fc.tar.gz
Check that sparse files hold at least a block (bug in eCryptfs: https://bugs.launchpad.net/ecryptfs/+bug/390833)
Diffstat (limited to 't/op/lfs.t')
-rw-r--r--t/op/lfs.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/op/lfs.t b/t/op/lfs.t
index 2de965f1c9..df9323f434 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;
}