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

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 3d5a9bb8df65ac6446ae5ad769c0adc5f332c164
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2024-04-07T17:23:22Z
Releases: 14.12
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