From 742904c6e6d14c25326d5a1beb3ca7cf6296ecb2 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Wed, 24 Sep 2014 11:05:16 +0200 Subject: [PATCH] Adds debug info about $PGUSER var --- test/run_tests.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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