[postgis-tickets] [SCM] PostGIS branch main updated. 3.1.0rc1-361-g7b5c250

git at osgeo.org git at osgeo.org
Wed Jul 21 10:21:37 PDT 2021


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, main has been updated
       via  7b5c250db94759568ccc9a578c8eebb05208d2c0 (commit)
      from  394886de6a3a02685b29bcf622753a9c869ab24c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7b5c250db94759568ccc9a578c8eebb05208d2c0
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Jul 21 18:48:24 2021 +0200

    Early exit if psql returns an error

diff --git a/regress/run_test.pl b/regress/run_test.pl
index 49b5ec7..d7282df 100755
--- a/regress/run_test.pl
+++ b/regress/run_test.pl
@@ -739,6 +739,10 @@ sub run_simple_test
           . " -c \"SET search_path TO public,$OPT_SCHEMA,topology\""
           . " -tXAq -f $sqlfile $DB > $outfile 2>&1";
 	my $rv = system($cmd);
+    if ( $rv ) {
+        fail "psql exited with an error", $outfile;
+        die;
+    }
 
 	# Check for ERROR lines
 	open(FILE, "$outfile");

-----------------------------------------------------------------------

Summary of changes:
 regress/run_test.pl | 4 ++++
 1 file changed, 4 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list