pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Make new authentication test case more robust.
5+ messages / 1 participants
[nested] [flat]

* pgsql: Make new authentication test case more robust.
@ 2020-09-05 01:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2020-09-05 01:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4d41823c5267184fb021ac456caf95ef734cc8b0

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Make new authentication test case more robust.
@ 2020-09-05 01:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2020-09-05 01:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8df601bd4067ecdf373ebe43bdf03159a12e2e9d

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Make new authentication test case more robust.
@ 2020-09-05 01:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2020-09-05 01:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_12_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Make new authentication test case more robust.
@ 2020-09-05 01:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2020-09-05 01:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(+)



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Make new authentication test case more robust.
@ 2020-09-05 01:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2020-09-05 01:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/546479f34f5c960494687f5808eb7b3d054478a1

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2020-09-05 01:02 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-09-05 01:02 pgsql: Make new authentication test case more robust. Tom Lane <tgl@sss.pgh.pa.us>
2020-09-05 01:02 pgsql: Make new authentication test case more robust. Tom Lane <tgl@sss.pgh.pa.us>
2020-09-05 01:02 pgsql: Make new authentication test case more robust. Tom Lane <tgl@sss.pgh.pa.us>
2020-09-05 01:02 pgsql: Make new authentication test case more robust. Tom Lane <tgl@sss.pgh.pa.us>
2020-09-05 01:02 pgsql: Make new authentication test case more robust. Tom Lane <tgl@sss.pgh.pa.us>

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