diff options
Diffstat (limited to 'src/bin/pg_basebackup/t/010_pg_basebackup.pl')
-rw-r--r-- | src/bin/pg_basebackup/t/010_pg_basebackup.pl | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/bin/pg_basebackup/t/010_pg_basebackup.pl b/src/bin/pg_basebackup/t/010_pg_basebackup.pl index d0ba2ebf9b7..aea8be1f840 100644 --- a/src/bin/pg_basebackup/t/010_pg_basebackup.pl +++ b/src/bin/pg_basebackup/t/010_pg_basebackup.pl @@ -218,7 +218,8 @@ SKIP: # skip on Windows. SKIP: { - skip "symlinks not supported on Windows", 18 if ($windows_os); + skip "symlinks not supported on Windows", 18 + if ($windows_os); # Move pg_replslot out of $pgdata and create a symlink to it. $node->stop; @@ -304,9 +305,15 @@ SKIP: "tablespace symlink was updated"); closedir $dh; - # Group access should be enabled on all backup files - ok(check_mode_recursive("$tempdir/backup1", 0750, 0640), - "check backup dir permissions"); + SKIP: + { + skip "unix-style permissions not supported on Windows", 1 + if ($Config::Config{osname} eq 'cygwin'); + + # Group access should be enabled on all backup files + ok(check_mode_recursive("$tempdir/backup1", 0750, 0640), + "check backup dir permissions"); + } # Unlogged relation forks other than init should not be copied my ($tblspc1UnloggedBackupPath) = |