[open-ils-commits] [GIT] Evergreen ILS branch master updated. 3e7f6f1503938e3e5a1cfe3bd90eaa8f021a0d48

Evergreen Git git at git.evergreen-ils.org
Tue Nov 5 13:41:09 EST 2013


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 "Evergreen ILS".

The branch, master has been updated
       via  3e7f6f1503938e3e5a1cfe3bd90eaa8f021a0d48 (commit)
      from  bdfb29aed7b4312a485dcba4dbf73adc6e2ffe70 (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 3e7f6f1503938e3e5a1cfe3bd90eaa8f021a0d48
Author: Mike Rylander <mrylander at gmail.com>
Date:   Tue Nov 5 12:31:17 2013 -0500

    Live pgTAP test for 0847, authority overlay generator fixes
    
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/sql/Pg/live_t/0847.auth_overlay_generator.pg b/Open-ILS/src/sql/Pg/live_t/0847.auth_overlay_generator.pg
new file mode 100644
index 0000000..2a4c88b
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/live_t/0847.auth_overlay_generator.pg
@@ -0,0 +1,29 @@
+\set ECHO
+\set QUIET 1
+-- Turn off echo and keep things quiet.
+
+-- Format the output for nice TAP.
+\pset format unaligned
+\pset tuples_only true
+\pset pager
+
+-- Revert all changes on failure.
+\set ON_ERROR_ROLLBACK 1
+\set ON_ERROR_STOP true
+\set QUIET 1
+
+-- let's do this thing
+BEGIN;
+
+SELECT plan(1);
+
+SELECT is(
+    $$<record xmlns="http://www.loc.gov/MARC21/slim"><leader>00881nam a2200193   4500</leader><datafield tag="600" ind1="1" ind2=" "><subfield code="a">Girdlestone, Cuthbert Morton,</subfield><subfield code="d">1895-1975</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Girdlestone, Cuthbert Morton,</subfield><subfield code="d">1895-1975</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Girdlestone, Cuthbert Morton,</subfield><subfield code="d">1895-1975</subfield></datafield><datafield tag="800" ind1="1" ind2=" "><subfield code="a">Girdlestone, Cuthbert Morton,</subfield><subfield code="d">1895-1975</subfield></datafield><datafield tag="905" ind1=" " ind2=" "><subfield code="r">600abcdefklmnopqrstvxyz[0~\)1$],100abcdefklmnopqrstvxyz[0~\)1$],700abcdefklmnopqrstvxyz[0~\)1$],800abcdefklmnopqrstvxyz[0~\)1$]</subfield></datafield></record>$$,
+    (select authority.generate_overlay_template(marc) from authority.record_entry where id = 1),
+    'authority.generate_overlay_template includes indicators and excludes junk tags'
+);
+
+
+SELECT * FROM finish();
+ROLLBACK;
+

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

Summary of changes:
 .../sql/Pg/live_t/0847.auth_overlay_generator.pg   |   29 ++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 Open-ILS/src/sql/Pg/live_t/0847.auth_overlay_generator.pg


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list