summaryrefslogtreecommitdiff
path: root/lib/File
diff options
context:
space:
mode:
authorJesse Vincent <jesse@bestpractical.com>2009-12-15 21:08:40 -0500
committerJesse Vincent <jesse@bestpractical.com>2009-12-15 21:13:31 -0500
commit9d48bc6db099a4f84cb04d1ada69930fb35f8da1 (patch)
tree94d0fd13fbc795c6e383951d0729110ea3216ccc /lib/File
parent2574563ed1cc89a9149d4a253b94199eab5bdf71 (diff)
downloadperl-9d48bc6db099a4f84cb04d1ada69930fb35f8da1.tar.gz
Update File::Copy tests to skip on OpenBSD, as it mounts too many filesystems nosuid.
[perl #71334] is the TODO for a better fix for this
Diffstat (limited to 'lib/File')
-rw-r--r--lib/File/Copy.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/File/Copy.t b/lib/File/Copy.t
index abff488099..2644bce024 100644
--- a/lib/File/Copy.t
+++ b/lib/File/Copy.t
@@ -239,6 +239,9 @@ SKIP: {
my $skips = @tests * 6 * 8;
+ # TODO - make this skip fire if we're on a nosuid filesystem rather than guessing by OS
+ skip "OpenBSD filesystems default to nosuid breaking these tests", $skips
+ if $^O eq 'openbsd';
skip "-- Copy preserves RMS defaults, not POSIX permissions.", $skips
if $^O eq 'VMS';
skip "Copy doesn't set file permissions correctly on Win32.", $skips