]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Don't clobber test exit code at cleanup in LDAP/Kerberors tests
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 7 Apr 2024 17:21:27 +0000 (20:21 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 7 Apr 2024 17:25:14 +0000 (20:25 +0300)
commit0d95711ae0d3b328b0a3534a546a4f848d273e08
tree066b2998a92f5a567fbaee326fa3163e87aaf348
parent1782571f6537c1d1a3c65fbf47a1be445eb606e3
Don't clobber test exit code at cleanup in LDAP/Kerberors tests

If the test script die()d before running the first test, the whole test
was interpreted as SKIPped rather than failed. The PostgreSQL::Cluster
module got this right.

Backpatch to all supported versions.

Discussion: https://www.postgresql.org/message-id/fb898a70-3a88-4629-88e9-f2375020061d@iki.fi
src/test/kerberos/t/001_auth.pl
src/test/ldap/t/001_auth.pl