mirror of
https://github.com/postgres/postgres.git
synced 2025-06-05 00:02:04 -04:00
Minor tweaks for new src/test/recovery
Author: Michael Paquier
This commit is contained in:
parent
10b4852215
commit
5847397dec
@ -455,9 +455,10 @@ $ENV{CONFIG}="Debug";
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Running the regression tests on client programs, with "vcregress bincheck",
|
Running the regression tests on client programs, with
|
||||||
or on recovery tests, with "vcregress recoverycheck" requires an additional
|
<command>vcregress bincheck</>, or on recovery tests, with
|
||||||
Perl module to be installed:
|
<command>vcregress recoverycheck</> requires an additional Perl module
|
||||||
|
to be installed:
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><productname>IPC::Run</productname></term>
|
<term><productname>IPC::Run</productname></term>
|
||||||
|
@ -28,6 +28,9 @@ modules/
|
|||||||
perl/
|
perl/
|
||||||
Infrastructure for Perl-based TAP tests
|
Infrastructure for Perl-based TAP tests
|
||||||
|
|
||||||
|
recovery/
|
||||||
|
Test suite for recovery and replication
|
||||||
|
|
||||||
regress/
|
regress/
|
||||||
PostgreSQL's main regression test suite, pg_regress
|
PostgreSQL's main regression test suite, pg_regress
|
||||||
|
|
||||||
|
1
src/test/recovery/.gitignore
vendored
1
src/test/recovery/.gitignore
vendored
@ -1,3 +1,2 @@
|
|||||||
# Generated by test suite
|
# Generated by test suite
|
||||||
/regress_log/
|
|
||||||
/tmp_check/
|
/tmp_check/
|
||||||
|
@ -15,3 +15,6 @@ include $(top_builddir)/src/Makefile.global
|
|||||||
|
|
||||||
check:
|
check:
|
||||||
$(prove_check)
|
$(prove_check)
|
||||||
|
|
||||||
|
clean distclean maintainer-clean:
|
||||||
|
rm -rf tmp_check
|
||||||
|
@ -3,11 +3,7 @@ src/test/recovery/README
|
|||||||
Regression tests for recovery and replication
|
Regression tests for recovery and replication
|
||||||
=============================================
|
=============================================
|
||||||
|
|
||||||
This directory contains a test suite for recovery and replication,
|
This directory contains a test suite for recovery and replication.
|
||||||
testing mainly the interactions of recovery.conf with cluster
|
|
||||||
instances by providing a simple set of routines that can be used
|
|
||||||
to define a custom cluster for a test, including backup, archiving,
|
|
||||||
and streaming configuration.
|
|
||||||
|
|
||||||
Running the tests
|
Running the tests
|
||||||
=================
|
=================
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# test for archiving with warm standby
|
# test for archiving with hot standby
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
use PostgresNode;
|
use PostgresNode;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Test for timeline switch
|
# Test for timeline switch
|
||||||
# Ensure that a standby is able to follow a newly-promoted standby
|
# Ensure that a cascading standby is able to follow a newly-promoted standby
|
||||||
# on a new timeline.
|
# on a new timeline.
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
@ -97,6 +97,7 @@ if exist src\bin\pg_ctl\tmp_check rd /s /q src\bin\pg_ctl\tmp_check
|
|||||||
if exist src\bin\pg_rewind\tmp_check rd /s /q src\bin\pg_rewind\tmp_check
|
if exist src\bin\pg_rewind\tmp_check rd /s /q src\bin\pg_rewind\tmp_check
|
||||||
if exist src\bin\pgbench\tmp_check rd /s /q src\bin\pgbench\tmp_check
|
if exist src\bin\pgbench\tmp_check rd /s /q src\bin\pgbench\tmp_check
|
||||||
if exist src\bin\scripts\tmp_check rd /s /q src\bin\scripts\tmp_check
|
if exist src\bin\scripts\tmp_check rd /s /q src\bin\scripts\tmp_check
|
||||||
|
if exist src\test\recovery\tmp_check rd /s /q src\test\recovery\tmp_check
|
||||||
|
|
||||||
REM Clean up datafiles built with contrib
|
REM Clean up datafiles built with contrib
|
||||||
REM cd contrib
|
REM cd contrib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user