Add TAP tests for pg_basebackup with compression
Michael Paquier <michael@paquier.xyz>
Add TAP tests for pg_basebackup with compression pg_basebackup is able to use gzip to compress the contents of backups with the tar format, but there were no tests for that. This adds a minimalistic set of tests to check the contents of such base backups, including sanity checks on the contents generated with gzip commands. The tests are skipped if Postgres is compiled --without-zlib, and the checks based on the gzip command are skipped if nothing can be found, following the same model as the existing tests for pg_receivewal. Reviewed-by: Georgios Kokolatos Discussion: https://postgr.es/m/Yb3GEgWwcu4wZDuA@paquier.xyz
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_basebackup/t/010_pg_basebackup.pl | modified | +36 −1 |
Discussion
- Refactoring of compression options in pg_basebackup 42 messages · 2021-12-18 → 2022-01-26