]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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:22:06 +0000 (20:22 +0300)
commitdfe402f955be8e7676e4da86517b8cdf75a072a2
tree3f20cfbe2514afc7e19db6d30ca005e9f49316a8
parent854dd250ee178aca201e73923c99aac09b25ea9c
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