Minor tweaks for new src/test/recovery
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 29 Feb 2016 21:16:59 +0000 (18:16 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 29 Feb 2016 21:16:59 +0000 (18:16 -0300)
Author: Michael Paquier

doc/src/sgml/install-windows.sgml
src/test/README
src/test/recovery/.gitignore
src/test/recovery/Makefile
src/test/recovery/README
src/test/recovery/t/002_archiving.pl
src/test/recovery/t/004_timeline_switch.pl
src/tools/msvc/clean.bat

index bfe840c3cf3f4a80fe4a89d7c8f51de524998c4b..f08cca7fce571aab147799d68b53fefb200ecef9 100644 (file)
@@ -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>
index 5587422d522f91aa04862cec47836120dbaa62a9..62395e78370c08407269187be3ce9383f2ce6d7e 100644 (file)
@@ -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
 
index 499fa7d86c82b48c161c6228a0701d6c57cc38bd..871e943d50e1af776ea4aae0e553a4869b7a2f04 100644 (file)
@@ -1,3 +1,2 @@
 # Generated by test suite
-/regress_log/
 /tmp_check/
index 330ab2bca5d19ad3ba983b961a1e475c5009afcc..929071909ad0412f06416f6b5477283cbbaae177 100644 (file)
@@ -15,3 +15,6 @@ include $(top_builddir)/src/Makefile.global
 
 check:
        $(prove_check)
+
+clean distclean maintainer-clean:
+       rm -rf tmp_check
index a9ee865866fd757da0f9e2f956a505d46fa066ee..3cafb9ddfe0b1caece8fadf409e63b713087ffee 100644 (file)
@@ -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
 =================
index 06c3ff46fd814e373abf235eb9a9b61fcee4044d..67bb7df0fdc8bd90a385ec5eb1f3f4d788590bd5 100644 (file)
@@ -1,4 +1,4 @@
-# test for archiving with warm standby
+# test for archiving with hot standby
 use strict;
 use warnings;
 use PostgresNode;
index 573f40ae61303e95b106905881d9914223324652..58bf5803e4cb4558007e4fccfaa6379999532f7e 100644 (file)
@@ -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;
index 58357f85637ac0cc5d17bff207b9da4c83f61c98..349134436bf45f9663174d7049f6a479ea74700a 100755 (executable)
@@ -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