mirror of https://github.com/postgres/postgres
Some subsequent patches will add to this, but to avoid conflicts, set up the basics separately.pull/31/merge
parent
2111a48a0c
commit
5700aa1301
@ -1 +1,2 @@ |
||||
/pg_resetwal |
||||
/tmp_check/ |
||||
|
||||
@ -0,0 +1,17 @@ |
||||
use strict; |
||||
use warnings; |
||||
|
||||
use PostgresNode; |
||||
use TestLib; |
||||
use Test::More tests => 11; |
||||
|
||||
program_help_ok('pg_resetwal'); |
||||
program_version_ok('pg_resetwal'); |
||||
program_options_handling_ok('pg_resetwal'); |
||||
|
||||
my $node = get_new_node('main'); |
||||
$node->init; |
||||
|
||||
command_like([ 'pg_resetwal', '-n', $node->data_dir ], |
||||
qr/checkpoint/, |
||||
'pg_resetwal -n produces output'); |
||||
Loading…
Reference in new issue