mirror of
https://github.com/postgres/postgres.git
synced 2025-05-09 18:21:05 +03:00
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
9 lines
202 B
Perl
9 lines
202 B
Perl
use strict;
|
|
use warnings;
|
|
use TestLib;
|
|
use Test::More tests => 8;
|
|
|
|
program_help_ok('pg_verify_checksums');
|
|
program_version_ok('pg_verify_checksums');
|
|
program_options_handling_ok('pg_verify_checksums');
|