summaryrefslogtreecommitdiff
path: root/t/lib/socket.t
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/socket.t')
-rwxr-xr-x[-rw-r--r--]t/lib/socket.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/lib/socket.t b/t/lib/socket.t
index e63c43ae4c..14c7609741 100644..100755
--- a/t/lib/socket.t
+++ b/t/lib/socket.t
@@ -4,7 +4,8 @@ BEGIN {
chdir 't' if -d 't';
@INC = '../lib' if -d '../lib';
require Config; import Config;
- if ($Config{'extensions'} !~ /\bSocket\b/ && $Config{'osname'} ne 'VMS') {
+ if ($Config{'extensions'} !~ /\bSocket\b/ &&
+ !(($Config{'osname'} eq 'VMS') && $Config{d_has_socket})) {
print "1..0\n";
exit 0;
}