Add TAP tests for pg_verify_checksums
Michael Paquier <michael@paquier.xyz>
Add TAP tests for pg_verify_checksums All options available in the utility get coverage: - Tests with disabled page checksums. - Tests with enabled test checksums. - Emulation of corruption and broken checksums with a full scan and single relfilenode scan. This patch has been contributed mainly by Michael Banck and Magnus Hagander with things presented on various threads, and I have gathered all the contents into a single patch. Author: Michael Banck, Magnus Hagander, Michael Paquier Reviewed-by: Peter Eisentraut Discussion: https://postgr.es/m/20181005012645.GE1629@paquier.xyz
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/initdb/t/001_initdb.pl | modified | +13 −1 |
| src/bin/pg_verify_checksums/.gitignore | modified | +2 −0 |
| src/bin/pg_verify_checksums/Makefile | modified | +6 −0 |
| src/bin/pg_verify_checksums/t/001_basic.pl | added | +8 −0 |
| src/bin/pg_verify_checksums/t/002_actions.pl | added | +69 −0 |
Discussion
- TAP tests for pg_verify_checksums 7 messages · 2018-10-05 → 2018-10-12