From e054eb383864421123e983e501b117c2614869ad Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Mon, 7 Sep 2015 20:24:00 +0200 Subject: [PATCH] Travis: set PGTZ in regress.sh The TimeZone parameter should be set both for input and for output in order to match our expected result file. Let's try to set PGTZ in the shell environment... --- test/regress.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/regress.sh b/test/regress.sh index b32d69a..e3e040d 100755 --- a/test/regress.sh +++ b/test/regress.sh @@ -8,6 +8,10 @@ set -x +# run the tests in the Europe/Paris TimeZone +# see csv-parse-date.load for an example where that matters +export PGTZ='Europe/Paris' + pgloader=$1 command=$2 targetdb=`gawk -F '[ ?]+' '/^ *INTO|into/ {print $3}' < $command`