Commit 8e5ce1c3 authored by Andrew Dunstan's avatar Andrew Dunstan

Always skip recovery SysV shared memory tests on Windows

The test for SysV support currently involves looking for the perl
modules IPC::SharedMem and IPC::SysV. However, the perl on msys2 has
these modules but the tests fail. Therefore, force skipping the tests on
Windows platforms unconditionally.

Discussion: https://postgr.es/m/176e86ba-1a46-9d8c-5ae4-9865a463b411@2ndQuadrant.com
parent 71a01086
...@@ -18,7 +18,7 @@ eval { ...@@ -18,7 +18,7 @@ eval {
require IPC::SysV; require IPC::SysV;
IPC::SysV->import(qw(IPC_CREAT IPC_EXCL S_IRUSR S_IWUSR)); IPC::SysV->import(qw(IPC_CREAT IPC_EXCL S_IRUSR S_IWUSR));
}; };
if ($@) if ($@ || $windows_os)
{ {
plan skip_all => 'SysV shared memory not supported by this platform'; plan skip_all => 'SysV shared memory not supported by this platform';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment