p4raw-id: //depot/perl@5487
print "not ok 1\n" unless $loaded;
}
use File::Glob ':glob';
+use Cwd ();
$loaded = 1;
print "ok 1\n";
# check bad protections
# should return an empty list, and set ERROR
-if ($^O eq 'mpeix' or $^O eq 'MSWin32' or $^O eq 'os2' or $^O eq 'VMS' or $^O eq 'cygwin' or not $>) {
+if ($^O eq 'mpeix' or $^O eq 'MSWin32' or $^O eq 'os2' or $^O eq 'VMS'
+ or $^O eq 'cygwin' or Cwd::cwd() =~ m#^/afs#s or not $>)
+{
print "ok 6 # skipped\n";
}
else {