LP#1262722 Fix DB supersedes/deprecates pgtap test
authorBill Erickson <berick@esilibrary.com>
Wed, 19 Feb 2014 15:22:37 +0000 (10:22 -0500)
committerJeff Godin <jgodin@tadl.org>
Wed, 19 Feb 2014 16:27:46 +0000 (11:27 -0500)
commit6c16a446894d47776ec336115c096b165ffe4b6a
tree86b9547148169b8e4cac4e1a6ec7d473bdecdb1e
parent4be795262dc199453a4e632f19d8a5f8aa94d01c
LP#1262722 Fix DB supersedes/deprecates pgtap test

Sort multi-value arrays before passing them off to pgtap for test
comparison. Otherwise, pgtap tests may fail with:

Failed test 5
        have: {AAAC,AAAB}
        want: {AAAB,AAAC}

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/src/sql/Pg/t/db_patch_dep_checks.pg