Change in ...osmo-hlr[master]: tests: Fix db_test err file to expect error code name instead of value

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/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Tue Aug 13 10:00:34 UTC 2019


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-hlr/+/15170


Change subject: tests: Fix db_test err file to expect error code name instead of value
......................................................................

tests: Fix db_test err file to expect error code name instead of value

Previous commit changed db_test to output code names to fix issues on
some platforms (I guess due to different error code values), but somehow
this log line was not updated.

Fixes: 8b860e54be3dbb6587611a9d61f6d28b4c825697
Change-Id: I598de6f83a86d528174d3d188596314572f5d70d
---
M tests/db/db_test.err
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/70/15170/1

diff --git a/tests/db/db_test.err b/tests/db/db_test.err
index da67d45..a3e4d58 100644
--- a/tests/db/db_test.err
+++ b/tests/db/db_test.err
@@ -1360,7 +1360,7 @@
 
 sqlite3_step(stmt) --> SQLITE_DONE
 
-db_get_auth_data(dbc, imsi0, &g_aud2g, &g_aud3g, &g_id) --> -126
+db_get_auth_data(dbc, imsi0, &g_aud2g, &g_aud3g, &g_id) --> -ENOKEY
 DAUC IMSI='123456789000000': Error reading Ki, expected length 16 but has length 15
 DAUC IMSI='123456789000000': No 3G Auth Data
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-hlr/+/15170
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Change-Id: I598de6f83a86d528174d3d188596314572f5d70d
Gerrit-Change-Number: 15170
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190813/8c2dff71/attachment.htm>


More information about the gerrit-log mailing list