This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don't use Config{'extensions'} under VMS.
[perl5.git] / t / lib / posix.t
index 05b1252..23007ff 100755 (executable)
@@ -4,7 +4,7 @@ BEGIN {
     chdir 't' if -d 't';
     @INC = '../lib';
     require Config; import Config;
-    if ($Config{'extensions'} !~ /\bPOSIX\b/) {
+    if ($^O ne 'VMS' and $Config{'extensions'} !~ /\bPOSIX\b/) {
        print "1..0\n";
        exit 0;
     }