diff --git a/test/run_tests.sh b/test/run_tests.sh index b1d3c693..a1a4b14a 100755 --- a/test/run_tests.sh +++ b/test/run_tests.sh @@ -4,15 +4,14 @@ export TZ='Europe/Rome' export PGAPPNAME='cartodb_sqlapi_tester' -export - # In case PGUSER env variable does not exist we attempt to use `postgres` if test x"${PGUSER}" = x; then - PGUSER=postgres + echo "PGUSER not found" + PGUSER=postgres +else + echo "PGUSER found = ${PGUSER}" fi -export - OPT_CREATE_PGSQL=yes # create/prepare the postgresql test database OPT_CREATE_REDIS=yes # create/prepare the redis test databases OPT_DROP_PGSQL=yes # drop the postgreql test environment