Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0e51485

Browse files
committed
Skip some permissions checks on Cygwin
These are checks that are already skipped on other Windows systems.Backpatch to all live branches, as appropriate.
1 parent096f213 commit0e51485

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

‎src/bin/initdb/t/001_initdb.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
SKIP:
8181
{
8282
skip"unix-style permissions not supported on Windows", 2
83-
if ($windows_os);
83+
if ($windows_os ||$Config::Config{osname}eq'cygwin');
8484

8585
# Init a new db with group access
8686
my$datadir_group ="$tempdir/data_group";

‎src/bin/pg_basebackup/t/010_pg_basebackup.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@
369369
SKIP:
370370
{
371371
skip"unix-style permissions not supported on Windows", 1
372-
if ($windows_os);
372+
if ($windows_os ||$Config::Config{osname}eq'cygwin');
373373

374374
ok(check_mode_recursive("$tempdir/backup1", 0750, 0640),
375375
"check backup dir permissions");

‎src/bin/pg_ctl/t/001_start_stop.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@
8181

8282
SKIP:
8383
{
84-
skip"group access not supported on Windows", 3if ($windows_os);
84+
skip"group access not supported on Windows", 3
85+
if ($windows_os ||$Config::Config{osname}eq'cygwin');
8586

8687
system_or_bail'pg_ctl','stop','-D',"$tempdir/data";
8788

‎src/bin/pg_rewind/t/002_databases.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ sub run_test
6060
SKIP:
6161
{
6262
skip"unix-style permissions not supported on Windows", 1
63-
if ($windows_os);
63+
if ($windows_os ||$Config::Config{osname}eq'cygwin');
6464

6565
ok(check_mode_recursive($node_primary->data_dir(), 0750, 0640),
6666
'check PGDATA permissions');

‎src/bin/pg_verifybackup/t/003_corruption.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@
103103
SKIP:
104104
{
105105
skip"unix-style permissions not supported on Windows", 4
106-
if$scenario->{'skip_on_windows'} &&$windows_os;
106+
if ($scenario->{'skip_on_windows'} &&
107+
($windows_os ||$Config::Config{osname}eq'cygwin'));
107108

108109
# Take a backup and check that it verifies OK.
109110
my$backup_path =$primary->backup_dir .'/' .$name;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp