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

Commit0704aed

Browse files
committed
Use portable diff options in pg_bsd_indent's regression test.
We had been using "diff -upd", which evidently works for most people,but Solaris's diff doesn't like it. (We'd not noticed because theSolaris buildfarm animals weren't running this test until they wereupgraded to the latest buildfarm client script.) Change to "diff -U3"which is what pg_regress has used for ages.Per buildfarm (and off-list discussion with Noah Misch).Back-patch to v16 where this test was added. In v16,also back-patch the relevant part of628c1d1 so thatthe test script looks about the same in all branches.
1 parent3a7ae6b commit0704aed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/tools/pg_bsd_indent/t/001_pg_bsd_indent.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
# Any diffs in the generated files will be accumulated here.
2727
my$diffs_file ="test.diffs";
2828

29-
# options used with diff
30-
my@diffopts = ("-upd");
29+
# options used with diff (see pg_regress.c's pretty_diff_opts)
30+
my@diffopts = ("-U3");
3131
push(@diffopts,"--strip-trailing-cr")if$windows_os;
3232

3333
# Copy support files to current dir, so *.pro files don't need to know path.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp