Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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/[email protected]
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 => 'SysV shared memory not supported by this platform';
2424
}

0 commit comments

Comments
 (0)