Skip to content

Commit 5847397

Browse files
committed
Minor tweaks for new src/test/recovery
Author: Michael Paquier
1 parent 10b4852 commit 5847397

File tree

8 files changed

+14
-11
lines changed

8 files changed

+14
-11
lines changed

doc/src/sgml/install-windows.sgml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,9 +455,10 @@ $ENV{CONFIG}="Debug";
455455
</para>
456456

457457
<para>
458-
Running the regression tests on client programs, with "vcregress bincheck",
459-
or on recovery tests, with "vcregress recoverycheck" requires an additional
460-
Perl module to be installed:
458+
Running the regression tests on client programs, with
459+
<command>vcregress bincheck</>, or on recovery tests, with
460+
<command>vcregress recoverycheck</> requires an additional Perl module
461+
to be installed:
461462
<variablelist>
462463
<varlistentry>
463464
<term><productname>IPC::Run</productname></term>

src/test/README

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ modules/
2828
perl/
2929
Infrastructure for Perl-based TAP tests
3030

31+
recovery/
32+
Test suite for recovery and replication
33+
3134
regress/
3235
PostgreSQL's main regression test suite, pg_regress
3336

src/test/recovery/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
# Generated by test suite
2-
/regress_log/
32
/tmp_check/

src/test/recovery/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ include $(top_builddir)/src/Makefile.global
1515

1616
check:
1717
$(prove_check)
18+
19+
clean distclean maintainer-clean:
20+
rm -rf tmp_check

src/test/recovery/README

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ src/test/recovery/README
33
Regression tests for recovery and replication
44
=============================================
55

6-
This directory contains a test suite for recovery and replication,
7-
testing mainly the interactions of recovery.conf with cluster
8-
instances by providing a simple set of routines that can be used
9-
to define a custom cluster for a test, including backup, archiving,
10-
and streaming configuration.
6+
This directory contains a test suite for recovery and replication.
117

128
Running the tests
139
=================

src/test/recovery/t/002_archiving.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# test for archiving with warm standby
1+
# test for archiving with hot standby
22
use strict;
33
use warnings;
44
use PostgresNode;

src/test/recovery/t/004_timeline_switch.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Test for timeline switch
2-
# Ensure that a standby is able to follow a newly-promoted standby
2+
# Ensure that a cascading standby is able to follow a newly-promoted standby
33
# on a new timeline.
44
use strict;
55
use warnings;

src/tools/msvc/clean.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ if exist src\bin\pg_ctl\tmp_check rd /s /q src\bin\pg_ctl\tmp_check
9797
if exist src\bin\pg_rewind\tmp_check rd /s /q src\bin\pg_rewind\tmp_check
9898
if exist src\bin\pgbench\tmp_check rd /s /q src\bin\pgbench\tmp_check
9999
if exist src\bin\scripts\tmp_check rd /s /q src\bin\scripts\tmp_check
100+
if exist src\test\recovery\tmp_check rd /s /q src\test\recovery\tmp_check
100101

101102
REM Clean up datafiles built with contrib
102103
REM cd contrib

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy