Lp 1730726: Fix a number of PgTap tests for PostgreSQL 10.
authorJason Stephenson <jason@sigio.com>
Tue, 6 Nov 2018 12:01:24 +0000 (07:01 -0500)
committerBen Shum <ben@evergreener.net>
Fri, 14 Dec 2018 19:35:55 +0000 (14:35 -0500)
A number of tests disabled output via "\set ECHO".  In PostgreSQL 10,
the lack of a value in \set is an error.  We change these lines to
"\set ECHO none".

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
14 files changed:
Open-ILS/src/sql/Pg/live_t/0824.item_import_defaults.pg
Open-ILS/src/sql/Pg/live_t/0847.auth_overlay_generator.pg
Open-ILS/src/sql/Pg/live_t/0852.prox_adjust.pg
Open-ILS/src/sql/Pg/make-pgtap-tests.pl
Open-ILS/src/sql/Pg/t/0799.state_field_required_toggle.pg
Open-ILS/src/sql/Pg/t/dewey.pg
Open-ILS/src/sql/Pg/t/lp1198475-lost-and-paid-status.pg
Open-ILS/src/sql/Pg/t/lp1533329-restrict-opt-in-setting.pg
Open-ILS/src/sql/Pg/t/lp1582354_report_able_to_show_bibs_where_the_last_copy_was_deleted_cancels.pg
Open-ILS/src/sql/Pg/t/lp1599634_Circulation_report_source_to_include_in-house_and_non_cat_circ.pg
Open-ILS/src/sql/Pg/t/lp980296-void-lost-lo-claims-returned.pg
Open-ILS/src/sql/Pg/t/regress/lp1272074_0858_fixed_field_enhancements.pg
Open-ILS/src/sql/Pg/t/schema.pg
Open-ILS/src/sql/Pg/t/versions.pg

index 683be42..0872da6 100644 (file)
@@ -1,4 +1,4 @@
-\set ECHO
+\set ECHO none
 \set QUIET 1
 -- Turn off echo and keep things quiet.
 
index e26fd81..ad2d21b 100755 (executable)
@@ -80,7 +80,7 @@ exit 0;
 
 sub pgtap_sql_header {
     return q^
-\set ECHO
+\set ECHO none
 \set QUIET 1
 -- Turn off echo and keep things quiet.
 
index 50f42ba..df05f54 100644 (file)
@@ -1,4 +1,4 @@
-\set ECHO
+\set ECHO none
 \set QUIET 1
 -- Turn off echo and keep things quiet.
 
index 7d4feca..bfa5f7b 100644 (file)
@@ -1,4 +1,4 @@
-\set ECHO
+\set ECHO none
 \set QUIET 1
 -- Turn off echo and keep things quiet.
 
index b611cbc..4db53b1 100644 (file)
@@ -1,4 +1,4 @@
-\set ECHO
+\set ECHO none
 \set QUIET 1
 -- Turn off echo and keep things quiet.