postgresql/contrib/sepgsql
Peter Eisentraut aeb8ea361a Convert sepgsql tests to TAP
Add a TAP test for sepgsql.  This automates the previously required
manual setup before the test.  The actual tests are still run by
pg_regress, as before, but now called from within the TAP Perl script.

The previous manual test script (test_sepgsql) is left in place, since
its purpose is (also) to test whether a running instance was properly
initialized for sepgsql.  But it has been changed to call pg_regress
directly and no longer require make.

Reviewed-by: Andreas Karlsson <andreas@proxel.se>
Discussion: https://www.postgresql.org/message-id/flat/651a5baf-5c45-4a5a-a202-0c8453a4ebf8@eisentraut.org
2025-01-24 12:39:47 +01:00
..
expected Add pg_constraint rows for not-null constraints 2024-11-08 13:28:48 +01:00
sql sepgsql: Adjust regression expected output 2023-08-17 10:51:26 +09:00
t Convert sepgsql tests to TAP 2025-01-24 12:39:47 +01:00
.gitignore Convert sepgsql tests to TAP 2025-01-24 12:39:47 +01:00
database.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
dml.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
hooks.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
label.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
launcher Update copyright for 2025 2025-01-01 11:21:55 -05:00
Makefile Convert sepgsql tests to TAP 2025-01-24 12:39:47 +01:00
meson.build Convert sepgsql tests to TAP 2025-01-24 12:39:47 +01:00
proc.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
relation.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
schema.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
selinux.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
sepgsql-regtest.te Update sepgsql to add mandatory access control for TRUNCATE 2019-11-23 10:46:44 -05:00
sepgsql.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
sepgsql.sql.in sepgsql_setcon(). 2012-03-15 16:08:40 -04:00
test_sepgsql Convert sepgsql tests to TAP 2025-01-24 12:39:47 +01:00
uavc.c Update copyright for 2025 2025-01-01 11:21:55 -05:00