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

Commitd4051bf

Browse files
committed
Replace use of "diff -q".
POSIX does not specify the -q option, and many implementations do notoffer it. Don't bother changing the MSVC build system, because havingnon-GNU diff on Windows is vanishingly unlikely. Back-patch to 9.2,where this invocation was introduced.
1 parent49008d6 commitd4051bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎contrib/pg_upgrade/test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,11 @@ case $testhost in
217217
*) sh ./delete_old_cluster.sh ;;
218218
esac
219219

220-
if diff-q"$temp_root"/dump1.sql"$temp_root"/dump2.sql;then
220+
if diff"$temp_root"/dump1.sql"$temp_root"/dump2.sql>/dev/null;then
221221
echo PASSED
222222
exit 0
223223
else
224+
echo"Files$temp_root/dump1.sql and$temp_root/dump2.sql differ"
224225
echo"dumps were not identical"
225226
exit 1
226227
fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp