Bug 8353: Adds a test to check for missing sysprefs in the database
authorHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 19 Jan 2010 11:26:24 +0000 (12:26 +0100)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 13 Jul 2012 12:42:40 +0000 (14:42 +0200)
commit8bf1c18e96113f6e5c7d24d9379ad26542f0843b
tree02b7606af26d0f21c5ace0c3cd5a76b04e48ad30
parent19ac74f3877d8801684bffefe36dde79ba0d8bb3
Bug 8353: Adds a test to check for missing sysprefs in the database

Adds a non-test mode (--showsql option) that displays the missing
sysprefs as sql inserts.  Some sysprefs were missed from the syspref
file due to extra spaces in the insert : fixed. The test now checks if
there are at least as many sysprefs in the database as in the syspref
file (instead of checking for the exact number)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Cherrypicked from BibLibre master, rebased onto current master, and
corrected typos, 2012-07-03

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
t/db_dependent/check_sysprefs.t [new file with mode: 0755]