[postgis-tickets] [SCM] PostGIS branch master updated. 3.2.0-595-gc4380f19d

git at osgeo.org git at osgeo.org
Wed Feb 23 09:35:41 PST 2022


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  c4380f19d64b7af94eb66d5f7418da1e8b0b3603 (commit)
      from  ddcf0d4dfaa0f3aaffe2a7b4a755fbe5a0be6163 (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 c4380f19d64b7af94eb66d5f7418da1e8b0b3603
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Feb 23 18:35:23 2022 +0100

    Proper exit code in check_multiprocess_topology_population.sh

diff --git a/topology/test/check_multiprocess_topology_population.sh b/topology/test/check_multiprocess_topology_population.sh
index 9cc7645d8..51683b66a 100755
--- a/topology/test/check_multiprocess_topology_population.sh
+++ b/topology/test/check_multiprocess_topology_population.sh
@@ -17,6 +17,7 @@ cleanup() {
     psql ${PSQL_OPTS} -c "SELECT NULL FROM DropTopology('mt_topo');" | grep -v '^$'
   fi
   rm -f pids.$$
+  rm -f invalidities_found
 }
 
 trap cleanup EXIT
@@ -85,6 +86,6 @@ done
 
 psql ${PSQL_OPTS} -c "SELECT TopologySummary('mt_topo')" | grep -v '^$'
 echo " -- INVALIDITIES START --"
-psql ${PSQL_OPTS} -c "SELECT 'INVALIDITY', * FROM ValidateTopology('mt_topo')" | grep -v '^$'
+psql ${PSQL_OPTS} -c "SELECT 'INVALIDITY', * FROM ValidateTopology('mt_topo')" | grep -v '^$' | tee invalidities_found
 echo " -- INVALIDITIES END --"
-
+test $(cat invalidities_found | wc -l) = 0

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

Summary of changes:
 topology/test/check_multiprocess_topology_population.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list