pgsql: Improve test coverage of pg_rewind

Started by Michael Paquieralmost 7 years ago1 messagescomitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

Improve test coverage of pg_rewind

This includes new TAP tests for a couple of areas not covered yet and
some improvements:
- More coverage for --no-ensure-shutdown, the enforced recovery step and
--dry-run.
- Failures with option combinations and basic option checks.
- Removal of a duplicated comment.

Author: Alexey Kondratov, Michael Paquier
Discussion: /messages/by-id/20191007010651.GD14532@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/55ba56415bae6ac1f43c12d54537bd60eaa2153b

Modified Files
--------------
src/bin/pg_rewind/t/001_basic.pl | 67 +++++++++++++++++++++++++++++++-
src/bin/pg_rewind/t/005_same_timeline.pl | 3 --
src/bin/pg_rewind/t/006_options.pl | 40 +++++++++++++++++++
3 files changed, 106 insertions(+), 4 deletions(-)