[PATCH] osmo-hlr[master]: ctrl test: fix: adjust expectations after stricter ctrl parsing

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Sun Jan 7 21:29:12 UTC 2018


Review at  https://gerrit.osmocom.org/5665

ctrl test: fix: adjust expectations after stricter ctrl parsing

After libosmocore I96a9b6b6a3a5e0b80513aa9eaa727ae8c9c7d7a1 the CTRL interface
returns stricter errors. Adjust the expectations of
test_subscriber_errors.ctrl to fix the external tests on master.

Change-Id: I9337b6b4f3fa8822c91760deb01f18a77a073d19
---
M tests/test_subscriber_errors.ctrl
1 file changed, 8 insertions(+), 8 deletions(-)


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

diff --git a/tests/test_subscriber_errors.ctrl b/tests/test_subscriber_errors.ctrl
index 55c7480..991d3df 100644
--- a/tests/test_subscriber_errors.ctrl
+++ b/tests/test_subscriber_errors.ctrl
@@ -62,26 +62,26 @@
 ERROR 28 Invalid value part of 'by-xxx-value' selector.
 
 GET 29 subscriber.by-id-1+1.info
-ERROR 29 Invalid value part of 'by-xxx-value' selector.
+ERROR 29 GET variable contains invalid characters
 GET 30 subscriber.by-id--.info
 ERROR 30 Invalid value part of 'by-xxx-value' selector.
 GET 31 subscriber.by-id-+1.info
-ERROR 31 Invalid value part of 'by-xxx-value' selector.
+ERROR 31 GET variable contains invalid characters
 GET 32 subscriber.by-id-+-1.info
-ERROR 32 Invalid value part of 'by-xxx-value' selector.
+ERROR 32 GET variable contains invalid characters
 GET 33 subscriber.by-id--+1.info
-ERROR 33 Invalid value part of 'by-xxx-value' selector.
+ERROR 33 GET variable contains invalid characters
 GET 34 subscriber.by-id-++1.info
-ERROR 34 Invalid value part of 'by-xxx-value' selector.
+ERROR 34 GET variable contains invalid characters
 GET 35 subscriber.by-id---1.info
 ERROR 35 Invalid value part of 'by-xxx-value' selector.
 
 GET 36 subscriber.by-id- 1.info
-ERROR 36 Command not present.
+ERROR 36 GET with trailing characters
 GET 37 subscriber.by-id-+ 1.info
-ERROR 37 Command not present.
+ERROR 37 GET variable contains invalid characters
 GET 38 subscriber.by-id-- 1.info
-ERROR 38 Command not present.
+ERROR 38 GET with trailing characters
 
 
 SET 39 subscriber.by-imsi-901990000000001.info foo

-- 
To view, visit https://gerrit.osmocom.org/5665
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9337b6b4f3fa8822c91760deb01f18a77a073d19
Gerrit-PatchSet: 1
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list