Don't clobber test exit code at cleanup in LDAP/Kerberors tests
authorHeikki Linnakangas
Sun, 7 Apr 2024 17:21:27 +0000 (20:21 +0300)
committerHeikki Linnakangas
Sun, 7 Apr 2024 17:22:28 +0000 (20:22 +0300)
commita9c20c85c73a41d3736f142743fa1a01df1e04b6
tree52195d5ed8111c5c7bfbd4bfb2247eee94664af4
parentc8df46b65705c87ab5b76cefe1ff69aed72095bf
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/t/001_auth.pl