osmo-hlr.git branch master updated. 0.1.0-12-gd3814b9

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Tue Nov 21 18:42:47 UTC 2017

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 "UNNAMED PROJECT".

The branch, master has been updated
       via  d3814b936b2ec9712561262be5a00320711ef249 (commit)
      from  6f3e8d6297c3904dd72168d0846bdad49fa6a8b5 (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 d3814b936b2ec9712561262be5a00320711ef249
Author: Neels Hofmeyr <neels at hofmeyr.de>
Date:   Tue Nov 21 12:28:07 2017 +0100

    db_test: don't verify SQLite issued error messages, they might change
    A user on openbsc@ complained that with SQLite 3.8.2, the db_test fails with
      --- expected
      +++ stderr
      -DDB (2067) abort at 18 in [INSERT INTO subscriber (imsi) VALUES ($imsi)]: UNIQUE constraint failed: subscriber.imsi
      +DDB (2067) abort at 35 in [INSERT INTO subscriber (imsi) VALUES ($imsi)]: UNIQUE constraint failed: subscriber.imsi
    i.e. a trivial difference in the error message issued by SQLite.
    For db_test, don't output any SQLite error messages: Add argument
    enable_sqlite_logging, pass as true, except in db_test.c.
    Remove the SQLite error messages from expected output.
    (Note that there is a src/db_test.c program that's not of interest here, this
    is about the tests/db/db_test.c)
    Change-Id: I2513d71cc0072aef8d08f47d0a1959f311176229


Summary of changes:
 src/db.c             | 10 ++++++----
 src/db.h             |  2 +-
 src/db_test.c        |  2 +-
 src/hlr.c            |  2 +-
 src/hlr_db_tool.c    |  2 +-
 tests/db/db_test.c   |  4 +++-
 tests/db/db_test.err |  5 -----
 7 files changed, 13 insertions(+), 14 deletions(-)


More information about the osmocom-commitlog mailing list