# HG changeset patch # User Paul Boddie # Date 1491149217 -7200 # Node ID 167e972361d96ee5d69c3c68bfe929d7f86c26e6 # Parent 2eeb57fb2d06269bba11d3a5e6093784443703e4 Added database output redirection for versions of psql that do not fully support output suppression. diff -r 2eeb57fb2d06 -r 167e972361d9 tests/common.sh --- a/tests/common.sh Sun Apr 02 18:05:46 2017 +0200 +++ b/tests/common.sh Sun Apr 02 18:06:57 2017 +0200 @@ -42,7 +42,7 @@ elif [ "$STORE_TYPE" = "postgresql" ]; then dropdb "$DBNAME" createdb "$DBNAME" - psql -q -f "$BASE_DIR/conf/postgresql/schema.sql" "$DBNAME" + psql -q -f "$BASE_DIR/conf/postgresql/schema.sql" "$DBNAME" 2>> $DBERROR fi rm -rf "$STATIC" diff -r 2eeb57fb2d06 -r 167e972361d9 tests/common_minimal.sh --- a/tests/common_minimal.sh Sun Apr 02 18:05:46 2017 +0200 +++ b/tests/common_minimal.sh Sun Apr 02 18:06:57 2017 +0200 @@ -26,3 +26,5 @@ TEMPLATES="$THIS_DIR/templates" ERROR=err.tmp + +DBERROR=dberr.tmp