Minor tweaks for new src/test/recovery

Author: Michael Paquier
pull/11/head
Alvaro Herrera 10 years ago
parent 10b4852215
commit 5847397dec
  1. 7
      doc/src/sgml/install-windows.sgml
  2. 3
      src/test/README
  3. 1
      src/test/recovery/.gitignore
  4. 3
      src/test/recovery/Makefile
  5. 6
      src/test/recovery/README
  6. 2
      src/test/recovery/t/002_archiving.pl
  7. 2
      src/test/recovery/t/004_timeline_switch.pl
  8. 1
      src/tools/msvc/clean.bat

@ -455,9 +455,10 @@ $ENV{CONFIG}="Debug";
</para>
<para>
Running the regression tests on client programs, with "vcregress bincheck",
or on recovery tests, with "vcregress recoverycheck" requires an additional
Perl module to be installed:
Running the regression tests on client programs, with
<command>vcregress bincheck</>, or on recovery tests, with
<command>vcregress recoverycheck</> requires an additional Perl module
to be installed:
<variablelist>
<varlistentry>
<term><productname>IPC::Run</productname></term>

@ -28,6 +28,9 @@ modules/
perl/
Infrastructure for Perl-based TAP tests
recovery/
Test suite for recovery and replication
regress/
PostgreSQL's main regression test suite, pg_regress

@ -1,3 +1,2 @@
# Generated by test suite
/regress_log/
/tmp_check/

@ -15,3 +15,6 @@ include $(top_builddir)/src/Makefile.global
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
=============================================
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.
This directory contains a test suite for recovery and replication.
Running the tests
=================

@ -1,4 +1,4 @@
# test for archiving with warm standby
# test for archiving with hot standby
use strict;
use warnings;
use PostgresNode;

@ -1,5 +1,5 @@
# 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.
use strict;
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\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\test\recovery\tmp_check rd /s /q src\test\recovery\tmp_check
REM Clean up datafiles built with contrib
REM cd contrib

Loading…
Cancel
Save