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

Commit38c9a59

Browse files
committed
Fix pg_upgrade test on Cygwin
The verification of permissions doesn't succeed on Cygwin, because therequired feature is not implemented for Cygwin at the moment. So skipthis part of the test, like MinGW already does.
1 parent2ecfeda commit38c9a59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/pg_upgrade/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,15 +232,15 @@ pg_upgrade $PG_UPGRADE_OPTS -d "${PGDATA}.old" -D "$PGDATA" -b "$oldbindir" -p "
232232
# make sure all directories and files have group permissions, on Unix hosts
233233
# Windows hosts don't support Unix-y permissions.
234234
case$testhostin
235-
MINGW*) ;;
235+
MINGW*|CYGWIN*) ;;
236236
*)if [`find"$PGDATA" -type f! -perm 640| wc -l`-ne 0 ];then
237237
echo"files in PGDATA with permission != 640";
238238
exit 1;
239239
fi ;;
240240
esac
241241

242242
case$testhostin
243-
MINGW*) ;;
243+
MINGW*|CYGWIN*) ;;
244244
*)if [`find"$PGDATA" -type d! -perm 750| wc -l`-ne 0 ];then
245245
echo"directories in PGDATA with permission != 750";
246246
exit 1;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp