Skip make_path group/user tests for darwin - it's nobody and nogroup ids are -1
Josh ben Jore [Mon, 5 Apr 2010 23:36:10 +0000 (16:36 -0700)]
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');