This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Skip make_path group/user tests for darwin - it's nobody and nogroup ids are -1
authorJosh ben Jore <jjore@cpan.org>
Mon, 5 Apr 2010 23:36:10 +0000 (16:36 -0700)
committerJesse Vincent <jesse@bestpractical.com>
Tue, 6 Apr 2010 14:54:54 +0000 (10:54 -0400)
cpan/File-Path/t/Path.t

index 346f32a..a33c15a 100644 (file)
@@ -441,6 +441,8 @@ SKIP: {
         unless $Config{d_getgrent};
     skip 'not running as root', $skip_count
         unless $< == 0;
+    skip "darwin's nobody and nogroup are -1", $skip_count
+        if $^O eq 'darwin';
 
     my $dir_stem = $dir = catdir($tmp_base, 'owned-by');