Don't clobber test exit code at cleanup in LDAP/Kerberors tests

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 0d95711ae0d3b328b0a3534a546a4f848d273e08
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2024-04-07T17:25:14Z
Releases: 12.19
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

Files

PathChange+/−
src/test/kerberos/t/001_auth.pl modified +6 −1
src/test/ldap/t/001_auth.pl modified +5 −0

Discussion