dexter has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41275?usp=email )


Change subject: smdpp_Tests: improve messages when setting verdict in 
f_init_es9plus
......................................................................

smdpp_Tests: improve messages when setting verdict in f_init_es9plus

It is important to tell that the failure happend in the context of the
ES9+ initialization.

Related: SYS#7339
Change-Id: I6b55d0bb6d5bd698241a990cf8388adc68a99543
---
M smdpp/smdpp_Tests.ttcn
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/75/41275/1

diff --git a/smdpp/smdpp_Tests.ttcn b/smdpp/smdpp_Tests.ttcn
index 17ed4e1..c49187a 100644
--- a/smdpp/smdpp_Tests.ttcn
+++ b/smdpp/smdpp_Tests.ttcn
@@ -534,18 +534,18 @@
        );

        if (g_rsp_client_handle_es9p < 0) {
-               ext_logError("Failed to create RSP client");
+               setverdict(fail, "Failed to initialize RSP client for ES9+");
                return false;
        }

        if (ext_RSPClient_loadEUICCCertificate(g_rsp_client_handle_es9p, 
g_pars_smdpp.euicc_cert_path) != 0) {
-               ext_logError("Failed to load eUICC certificate");
+               ext_logError("Failed to load eUICC certificate for ES9+");
                f_rsp_client_cleanup();
                return false;
        }

        if (ext_RSPClient_loadEUICCKeyPair(g_rsp_client_handle_es9p, 
g_pars_smdpp.euicc_key_path) != 0) {
-               ext_logError("Failed to load eUICC private key");
+               ext_logError("Failed to load eUICC private key for ES9+");
                f_rsp_client_cleanup();
                return false;
        }

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41275?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I6b55d0bb6d5bd698241a990cf8388adc68a99543
Gerrit-Change-Number: 41275
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>

Reply via email to