]> granicus.if.org Git - postgresql/commit
Take sepgsql regression tests out of the regular regression test mechanism.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Sep 2011 00:07:15 +0000 (20:07 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Sep 2011 00:07:15 +0000 (20:07 -0400)
commitcc4ff8742b99d3b20a52f529d03bbe802f4b0053
tree4b18c46db3fd6205a598e14da22f28b4be3ff04a
parentbbd38af3a879604db2b455cbb2b4ec93275249fa
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.
contrib/sepgsql/Makefile
contrib/sepgsql/chkselinuxenv [deleted file]
contrib/sepgsql/test_sepgsql [new file with mode: 0755]
doc/src/sgml/sepgsql.sgml