This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Skip suid File::Copy tests on a nosuid partition
authorÆvar Arnfjörð Bjarmason <avar@cpan.org>
Thu, 13 May 2010 20:05:35 +0000 (20:05 +0000)
committerSteffen Mueller <smueller@cpan.org>
Sat, 3 Jul 2010 13:23:37 +0000 (15:23 +0200)
commitcae9400fee55b7e628d974f47e5bbebb4180a9c2
treeba058d71d3cec9727a043c17cceaa09be07282d8
parente07ce2e4e82e3054dc912dbe99348744647bf30b
Skip suid File::Copy tests on a nosuid partition

These tests were being skipped on OpenBSD, but nosuid partitions can
exist on other systems too. Now it just checks if it can create a suid
directory, if not the tests are skipped.

Perl builds without errors in a nosuid /tmp with this patch.
lib/File/Copy.t