From 11391685d1f044e13e109a82bcdd42193029079b Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Wed, 22 Nov 2000 00:58:47 +0000
Subject: [PATCH] Tweak resultmap documentation, add to README too.

---
 doc/src/sgml/regress.sgml | 11 ++++++-----
 src/test/regress/README   | 14 ++++++++------
 2 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/doc/src/sgml/regress.sgml b/doc/src/sgml/regress.sgml
index 239250ae84..3f3d16f97c 100644
--- a/doc/src/sgml/regress.sgml
+++ b/doc/src/sgml/regress.sgml
@@ -1,4 +1,4 @@
-<!-- $Header: /cvsroot/pgsql/doc/src/sgml/regress.sgml,v 1.13 2000/11/21 23:40:27 petere Exp $ -->
+<!-- $Header: /cvsroot/pgsql/doc/src/sgml/regress.sgml,v 1.14 2000/11/22 00:58:47 tgl Exp $ -->
 
  <chapter id="regress">
   <title id="regress-title">Regression Tests</title>
@@ -289,13 +289,14 @@ diff results/random.out expected/random.out
    <para>
     Each line in the mapping file is of the form
 <synopsis>
-testname/platformnamepattern=comparisonfilename
+testname/platformpattern=comparisonfilename
 </synopsis>
     The test name is just the name of the particular regression test
-    module.  The platform name pattern is a pattern in the style of
-    expr(1) (that is, a regular expression with an implicit ^ anchor
+    module.  The platform pattern is a pattern in the style of
+    expr(1) (that is, a regular expression with an implicit
+    <literal>^</literal> anchor
     at the start).  It is matched against the platform name as printed
-    by <filename>config.guess</filename> with an appended
+    by <filename>config.guess</filename> followed by
     <literal>:gcc</literal> or <literal>:cc</literal>, depending on
     whether you use the GNU compiler or the system's native compiler
     (on systems where there is a difference).  The comparison file
diff --git a/src/test/regress/README b/src/test/regress/README
index ced6bb9725..7cfe65b2e5 100644
--- a/src/test/regress/README
+++ b/src/test/regress/README
@@ -193,14 +193,16 @@ mapping file, which is "resultmap".
 
 Each line in the mapping file is of the form
 
-    testname/platformnamepattern=comparisonfilename
+    testname/platformpattern=comparisonfilename
 
 The test name is just the name of the particular regression test
-module. The platform name pattern is a pattern in the style of expr(1)
-(that is, a regular expression with an implicit ^ anchor at the
-start). It is matched against the platform name as printed by
-config.guess. The comparison file name is the name of the substitute
-result comparison file.
+module. The platform pattern is a pattern in the style of expr(1)
+(that is, a regular expression with an implicit ^ anchor at the start).
+It is matched against the platform name as printed by config.guess
+followed by ":gcc" or ":cc", depending on whether you use the GNU compiler
+or the system's native compiler (on systems where there is a difference).
+The comparison file name is the name of the substitute result comparison
+file.
 
 For example: the int2 regress test includes a deliberate entry of a
 value that is too large to fit in int2. The specific error message
-- 
2.40.0