8000 Always skip recovery SysV shared memory tests on Windows · postgrespro/postgres@8e5ce1c · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 8e5ce1c

Browse files
committed
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
1 parent 71a0108 commit 8e5ce1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/recovery/t/017_shm.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
require IPC::SysV;
1919
IPC::SysV->import(qw(IPC_CREAT IPC_EXCL S_IRUSR S_IWUSR));
2020
};
21-
if ($@)
21+
if ($@ || $windows_os)
2222
{
2323
plan skip_all => < 3CA7 span class="pl-s">'SysV shared memory not supported by this platform';
2424
}

0 commit comments

Comments
 (0)
0