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

Heikki Linnakangas <heikki.linnakangas@iki.fi>

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