pgsql: 001_libpq_pipeline.pl: use Test::Differences if available

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: 001_libpq_pipeline.pl: use Test::Differences if available
Date: 2023-03-08 17:42:35
Message-ID: E1pZxoB-002Xj2-5E@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

001_libpq_pipeline.pl: use Test::Differences if available

When one of these tests fails to match the trace, this better shows what
the problem is.

Discussion: https://postgr.es/m/20220617183150.ilgokxp22mzywnhh@alvherre.pgsql
Reviewed-by: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/87e4f24d82939ef532b68f37fc66e6a48cff2cd9

Modified Files
--------------
src/test/modules/libpq_pipeline/README | 3 +++
src/test/modules/libpq_pipeline/t/001_libpq_pipeline.pl | 15 ++++++++++++++-
2 files changed, 17 insertions(+), 1 deletion(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Christoph Berg 2023-03-08 17:55:03 lz4 --rm on Ubuntu 18.04 (Add LZ4 compression to pg_dump)
Previous Message Peter Eisentraut 2023-03-08 16:03:22 pgsql: Allow tailoring of ICU locales with custom rules