diff schema/run_tests.sh @ 3024:5470aa3ffb9a

Fix privileges for GeoServer views
author Tom Gottfried <tom@intevation.de>
date Fri, 12 Apr 2019 11:41:24 +0200
parents 93fa55bce126
children 453f15ba8030
line wrap: on
line diff
--- a/schema/run_tests.sh	Fri Apr 12 11:34:47 2019 +0200
+++ b/schema/run_tests.sh	Fri Apr 12 11:41:24 2019 +0200
@@ -28,7 +28,10 @@
     -c 'SET client_min_messages TO WARNING' \
     -c "DROP ROLE IF EXISTS $TEST_ROLES" \
     -f tap_tests_data.sql \
-    -c 'SELECT plan(64)' \
+    -c "SELECT plan(64 + (
+            SELECT count(*)::int
+                FROM information_schema.tables
+                WHERE table_schema = 'waterway'))" \
     -f gemma_tests.sql \
     -f isrs_tests.sql \
     -f auth_tests.sql \