Re: contrib/sepgsql regression tests have been broken for months

Joe Conway <mail@joeconway.com>

From: Joe Conway <mail@joeconway.com>
To: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@lists.postgresql.org
Date: 2025-10-24T11:49:15Z
Lists: pgsql-hackers
On 10/24/25 17:36, Tom Lane wrote:
> I think that rhinoceros is the only BF member testing with
> --with-selinux. 

Yes, as far as I know anyway.

> Looking at its logs, it is running the sepgsql tests (as a custom module) in
> v17 and before, but not in v18 or HEAD. I suppose that this is a consequence
> of trying to rely on the TAP-test infrastructure that was installed by
> aeb8ea361 (just a few days before the aforesaid change, as luck would have
> it).  That TAP test does work for me, but it does not run on rhinoceros
> because (1) there's no --enable-tap-tests in its configure command, and (2)
> it doesn't set up environment variable PG_TEST_EXTRA to include "sepgsql".
> 
> Anyway, we seem to need the attached in v18 and HEAD,
> and we really ought to get BF coverage going again.

I will make those changes (and hope nothing breaks).

-- 
Joe Conway
PostgreSQL Contributors Team
Amazon Web Services: https://aws.amazon.com



Commits

  1. Update expected output for contrib/sepgsql's regression tests.

  2. Print out error position for some ALTER TABLE ALTER COLUMN type