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

Commitb28244a

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 parente135c3d commitb28244a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/bin/pg_upgrade/test.sh

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

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp