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

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: a9c20c85c73a41d3736f142743fa1a01df1e04b6
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2024-04-07T17:22:28Z
Releases: 15.7
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