mirror of
https://github.com/postgres/postgres.git
synced 2025-10-18 04:29:09 +03:00
Allow TAP tests to run under Msys
The Msys DTK perl, which is required to run TAP tests under Msys as a native perl won't recognize the correct virtual paths, has its osname recorded in the Config module as 'msys' instead of 'MSWin32'. To avoid having to repeat the test a variable is created that is true iff the osname is either of these values, and is then used everywhere that matters.
This commit is contained in:
@@ -92,7 +92,7 @@ unlink "$tempdir/pgdata/$superlongname";
|
||||
# The following tests test symlinks. Windows doesn't have symlinks, so
|
||||
# skip on Windows.
|
||||
SKIP: {
|
||||
skip "symlinks not supported on Windows", 10 if ($Config{osname} eq "MSWin32");
|
||||
skip "symlinks not supported on Windows", 10 if ($windows_os);
|
||||
|
||||
# Create a temporary directory in the system location and symlink it
|
||||
# to our physical temp location. That way we can use shorter names
|
||||
|
Reference in New Issue
Block a user