Re: Convert sepgsql tests to TAP - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: Convert sepgsql tests to TAP
Date
Msg-id c1f4cd4b-90e2-455a-be31-951eb4130324@proxel.se
Whole thread Raw
In response to Re: Convert sepgsql tests to TAP  (Andreas Karlsson <andreas@proxel.se>)
Responses Re: Convert sepgsql tests to TAP
List pgsql-hackers
On 7/24/24 4:31 PM, Andreas Karlsson wrote:
> I have not yet set up an VM with selinux to try the patch out for real 
> but will do so later.

I almost got the tests running but it required way too many manual steps 
to just get there and I gave up after just getting segfaults. I had to 
edit sepgsql-regtest.te because sepgsql-regtest.pp would not build 
otherwise on Debian bookworm, but after I had done that instead of 
getting test failures as I expected I just got segfaults. Maybe those 
are caused by an incorrect sepgsql-regtest.pp but this was not nice at 
all to try to get running for someone like me who does not know selinux 
well.

Peter, what did you do to get the tests running? And should we fix these 
tests to make them more user friendly?

Andreas




pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Make query cancellation keys longer
Next
From: Peter Eisentraut
Date:
Subject: Re: Convert sepgsql tests to TAP