summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorLeon Brocard <acme@astray.com>2010-03-24 13:06:09 +0000
committerLeon Brocard <acme@astray.com>2010-03-24 13:06:09 +0000
commit8c3c028a261ab8dd47b0135c7924610685d56b0f (patch)
treed7e9b8575704b58104f5ada82aab82e64e086e00 /ext
parentbf2695427bbbda7bb4063221b3964a6198ba6e03 (diff)
downloadperl-8c3c028a261ab8dd47b0135c7924610685d56b0f.tar.gz
Check that sparse files hold at least a block (bug in eCryptfs: https://bugs.launchpad.net/ecryptfs/+bug/390833)
Diffstat (limited to 'ext')
-rw-r--r--ext/Fcntl/t/syslfs.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/Fcntl/t/syslfs.t b/ext/Fcntl/t/syslfs.t
index 7da5e21abe..f0f1881c1d 100644
--- a/ext/Fcntl/t/syslfs.t
+++ b/ext/Fcntl/t/syslfs.t
@@ -106,7 +106,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;
}