]> granicus.if.org Git - postgis/commitdiff
Set default client_min_messages to NOTICE when running tests
authorSandro Santilli <strk@keybit.net>
Wed, 4 Sep 2013 12:22:42 +0000 (12:22 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 4 Sep 2013 12:22:42 +0000 (12:22 +0000)
See #2467 and #2469

git-svn-id: http://svn.osgeo.org/postgis/trunk@11913 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test
regress/run_test.pl

index b85f9c8943779bba9ac26ca370f735a3ae5c6221..8241684a9969dd1d35647b4fbbebc856b287d620 100755 (executable)
@@ -33,7 +33,7 @@ ORIG_LANG=$LANG
 export LC_ALL=C
 export LANG=C
 
-PGOPTIONS="${PGOPTIONS} -c lc_messages=C"
+PGOPTIONS="${PGOPTIONS} -c lc_messages=C -c client_min_messages=NOTICE"
 export PGOPTIONS
 
 REGDIR=`dirname $0`
index 6751a77ea91cfbd8893396ee66ab5d76ffb68eb8..03bb910364ada2dc71a30f6584544aef65acbb8c 100755 (executable)
@@ -76,7 +76,7 @@ $ENV{"LC_ALL"} = "C";
 $ENV{"LANG"} = "C";
 
 # Add locale info to the psql options
-my $PGOPTIONS = $ENV{"PGOPTIONS"} . " -c lc_messages=C";
+my $PGOPTIONS = $ENV{"PGOPTIONS"} . " -c lc_messages=C -c client_min_messages=NOTICE";
 $ENV{"PGOPTIONS"} = $PGOPTIONS;
 
 # Bring the path info in