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

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: dfe402f955be8e7676e4da86517b8cdf75a072a2
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2024-04-07T17:22:06Z
Releases: 16.3
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/LdapServer.pm modified +5 −0

Discussion