[SCM] PostGIS branch master updated. 3.4.0rc1-720-ga6aec22a6

git at osgeo.org git at osgeo.org
Fri Oct 27 06:31:44 PDT 2023


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, master has been updated
       via  a6aec22a64d7bcad2ac76cac3e68fd7579db2a36 (commit)
      from  2b56d4ae741f4667b87b78d813368fd184980e30 (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 a6aec22a64d7bcad2ac76cac3e68fd7579db2a36
Author: Sandro Santilli <strk at kbt.io>
Date:   Fri Oct 27 15:31:22 2023 +0200

    run_test.pl: ensure success return from create_db if nothing goes wrong

diff --git a/regress/run_test.pl b/regress/run_test.pl
index e8e80936f..ab001b1a1 100755
--- a/regress/run_test.pl
+++ b/regress/run_test.pl
@@ -438,7 +438,7 @@ if ( $OPT_DUMPRESTORE )
     print "Creating db '${DB}'\n";
     $rv = create_db();
     if ( ! $rv ) {
-        fail("Could not create db ${DB}", $REGRESS_LOG);
+        fail("Could not create db ${DB} (create_db returned $rv)", $REGRESS_LOG);
         die;
     }
 
@@ -1527,6 +1527,8 @@ sub create_db
 		print "Running after-create-db-script $hook\n";
 		die unless load_sql_file($hook, 1);
 	}
+
+	return 1;
 }
 
 sub create_spatial

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

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


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list