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

Appearance settings

Commit 38c9a59

Browse filesBrowse files
committed
Fix pg_upgrade test on Cygwin
The verification of permissions doesn't succeed on Cygwin, because the required feature is not implemented for Cygwin at the moment. So skip this part of the test, like MinGW already does.
1 parent 2ecfeda commit 38c9a59
Copy full SHA for 38c9a59

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/bin/pg_upgrade/test.sh

Copy file name to clipboardExpand all lines: src/bin/pg_upgrade/test.sh
+2-2Lines 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 $testhost in
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 $testhost in
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.