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-f23750200...@iki.fi

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a475a2fa3bc9c68eaa2aeda28d6d86529eda4673

Modified Files
--------------
src/test/kerberos/t/001_auth.pl | 5 +++++
src/test/ldap/LdapServer.pm     | 5 +++++
2 files changed, 10 insertions(+)

Reply via email to