Adds debug info about $PGUSER var

This commit is contained in:
Raul Ochoa 2014-09-24 11:05:16 +02:00
parent fa4488b7d3
commit 742904c6e6

View File

@ -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