pgsql: Take sepgsql regression tests out of the regular regression test

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Take sepgsql regression tests out of the regular regression test
Date: 2011-09-28 00:07:30
Message-ID: E1R8hgQ-0002k9-GL@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Take sepgsql regression tests out of the regular regression test mechanism.

Because these tests require root privileges, not to mention invasive
changes to the security configuration of the host system, it's not
reasonable for them to be invoked by a regular "make check" or "make
installcheck". Instead, dike out the Makefile's knowledge of the tests,
and change chkselinuxenv (now renamed "test_sepgsql") into a script that
verifies the environment is workable and then runs the tests. It's
expected that test_sepgsql will only be run manually.

While at it, do some cleanup in the error checking in the script, and
do some wordsmithing in the documentation.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/cc4ff8742b99d3b20a52f529d03bbe802f4b0053

Modified Files
--------------
contrib/sepgsql/Makefile | 11 +--
contrib/sepgsql/chkselinuxenv | 230 ----------------------------------
contrib/sepgsql/test_sepgsql | 264 +++++++++++++++++++++++++++++++++++++++
doc/src/sgml/sepgsql.sgml | 277 ++++++++++++++++++++++------------------
4 files changed, 419 insertions(+), 363 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-09-28 00:16:11 pgsql: Take sepgsql regression tests out of the regular regression test
Previous Message Alvaro Herrera 2011-09-27 20:02:46 pgsql: Remove dependency on error ordering in isolation tests