pgsql: Remove command checks in tests of pg_basebackup and pg_receivewa

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove command checks in tests of pg_basebackup and pg_receivewa
Date: 2022-02-15 04:41:55
Message-ID: E1nJpf1-0003FC-Od@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove command checks in tests of pg_basebackup and pg_receivewal

The TAP tests of those commands have been checking if commands of "gzip"
and "lz4" existed by launching them with an extra --version. Based on
the buildfarm, this is not required for "gzip" as the command always
exists. Since 1d084fb, "lz4" has a ./configure check doing the same
thing.

Reported-by: Andres Freund
Discussion: https://postgr.es/m/20220212220643.ozuvq2k4cjkcnr2v@alap3.anarazel.de
Discussion: https://postgr.es/m/Ygm2ADakjlqGc2Ro@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a4e1deb42b378650aaa2bcb3897caad9fe895957

Modified Files
--------------
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 5 ++---
src/bin/pg_basebackup/t/020_pg_receivewal.pl | 10 ++++------
2 files changed, 6 insertions(+), 9 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-02-15 04:46:03 Re: pgsql: Add suport for server-side LZ4 base backup compression.
Previous Message Michael Paquier 2022-02-15 02:47:41 pgsql: Fix thinko with subdirectories generated by pg_upgrade for inter