Ensure make check fails if database preparation fails

This commit is contained in:
Sandro Santilli 2014-03-19 17:04:06 +01:00
parent 471edabe4d
commit 9c4feac19b

View File

@ -76,7 +76,7 @@ if test x"$PREPARE_PGSQL" = xyes; then
sed "s/:PUBLICPASS/${PUBLICPASS}/" |
sed "s/:TESTUSER/${TESTUSER}/" |
sed "s/:TESTPASS/${TESTPASS}/" |
psql ${TEST_DB}
psql -v ON_ERROR_STOP=1 ${TEST_DB} || exit 1
fi