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

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


pespin has submitted this change and it was merged. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved



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-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190813/7c9d4f35/attachment.html>


More information about the gerrit-log mailing list