Remove command checks in tests of pg_basebackup and pg_receivewal
authorMichael Paquier <michael@paquier.xyz>
Tue, 15 Feb 2022 04:41:40 +0000 (13:41 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 15 Feb 2022 04:41:40 +0000 (13:41 +0900)
commita4e1deb42b378650aaa2bcb3897caad9fe895957
tree0b5a884100db4f21f91af38f60ef0c83fa4b7715
parenta008496300110d1b5ab7cb29b67ac043a6999bdb
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
src/bin/pg_basebackup/t/010_pg_basebackup.pl
src/bin/pg_basebackup/t/020_pg_receivewal.pl