Don't clobber test exit code at cleanup in LDAP/Kerberors tests
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 7 Apr 2024 17:21:27 +0000 (20:21 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 7 Apr 2024 17:21:27 +0000 (20:21 +0300)
commita475a2fa3bc9c68eaa2aeda28d6d86529eda4673
tree500eb225aa8a7a66558c230066a0901b8b8d8e33
parente13b586d7c989147afd910c6997659a8412a8b84
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
src/test/kerberos/t/001_auth.pl
src/test/ldap/LdapServer.pm