These are checks that are already skipped on other Windows systems.
Backpatch to all live branches, as appropriate.
SKIP:
{
skip "unix-style permissions not supported on Windows", 2
- if ($windows_os);
+ if ($windows_os || $Config::Config{osname} eq 'cygwin');
# Init a new db with group access
my $datadir_group = "$tempdir/data_group";
SKIP:
{
skip "unix-style permissions not supported on Windows", 1
- if ($windows_os);
+ if ($windows_os || $Config::Config{osname} eq 'cygwin');
ok(check_mode_recursive("$tempdir/backup1", 0750, 0640),
"check backup dir permissions");
SKIP:
{
- skip "group access not supported on Windows", 3 if ($windows_os);
+ skip "group access not supported on Windows", 3
+ if ($windows_os || $Config::Config{osname} eq 'cygwin');
system_or_bail 'pg_ctl', 'stop', '-D', "$tempdir/data";
SKIP:
{
skip "unix-style permissions not supported on Windows", 1
- if ($windows_os);
+ if ($windows_os || $Config::Config{osname} eq 'cygwin');
ok(check_mode_recursive($node_primary->data_dir(), 0750, 0640),
'check PGDATA permissions');
SKIP:
{
skip "unix-style permissions not supported on Windows", 4
- if $scenario->{'skip_on_windows'} && $windows_os;
+ if ($scenario->{'skip_on_windows'} &&
+ ($windows_os || $Config::Config{osname} eq 'cygwin'));
# Take a backup and check that it verifies OK.
my $backup_path = $primary->backup_dir . '/' . $name;