pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make new authentication test case more robust.
Date: Sat, 05 Sep 2020 01:02:15 +0000
Message-ID: <E1kEMat-0004Pk-Fh@gemulon.postgresql.org> (raw)

Make new authentication test case more robust.

I happened to notice that the new test case I added in b55b4dad9
falls over if one runs "make check" repeatedly; though not in branches
after v10.  That's because it was assuming that tmp_check/pgpass
wouldn't exist already.  However, it's only been since v11 that the
Makefiles forcibly remove all of tmp_check/ before starting a TAP run.
This fix to unlink the file is therefore strictly necessary only in
v10 ... but it seems wisest to do it across the board, rather than
let the test rely on external logic to get the conditions right.

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d7ae549e31ccf19a28375b1f72ec898eeace3c58

Modified Files
--------------
src/test/authentication/t/001_password.pl | 1 +
1 file changed, 1 insertion(+)



view thread (5+ messages)  latest in thread

Message-ID: <E1kEMat-0004Pk-Fh@gemulon.postgresql.org>
Permalink:  ../E1kEMat-0004Pk-Fh@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kEMat-0004Pk-Fh@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Make new authentication test case more robust.
  In-Reply-To: <E1kEMat-0004Pk-Fh@gemulon.postgresql.org>
  References: <E1kEMat-0004Pk-Fh@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox