runAllPrivilegeTests.psql should use the \ir flag instead of \i, allowing it to be run from a different location.
Also, the script should specify \set ON_ERROR_STOP off, in order to not stop after the first intentional fail, and to ensure that proper cleanup occurs.
runAllPrivilegeTests.psql
should use the\ir
flag instead of\i
, allowing it to be run from a different location.Also, the script should specify
\set ON_ERROR_STOP off
, in order to not stop after the first intentional fail, and to ensure that proper cleanup occurs.