pgsql: Use portable diff options in pg_bsd_indent's regression test.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use portable diff options in pg_bsd_indent's regression test.
Date: 2024-11-04 23:09:01
Message-ID: E1t86Bx-000DTv-7W@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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 the
Solaris buildfarm animals weren't running this test until they were
upgraded 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 of 628c1d1f2 so that
the test script looks about the same in all branches.

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/811f8d3f10a448644004954ad784bed4d51b88c7

Modified Files
--------------
src/tools/pg_bsd_indent/t/001_pg_bsd_indent.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-11-05 00:41:51 pgsql: Clear padding of PgStat_HashKey when handling pgstats entries
Previous Message Alexander Korotkov 2024-11-04 21:05:00 Re: pgsql: Implement pg_wal_replay_wait() stored procedure