X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fsr_si_static_test.c;h=b86ab891cdff10b2f896151d0d68e1e77edfe815;hb=refs%2Ftags%2F4.8.5;hp=0bbd04516b4e046f75b2f41e4b58d06c9657c844;hpb=fcea3951d44de0cc55d33c5e114487abe79d3406;p=ric-plt%2Flib%2Frmr.git diff --git a/test/sr_si_static_test.c b/test/sr_si_static_test.c index 0bbd045..b86ab89 100644 --- a/test/sr_si_static_test.c +++ b/test/sr_si_static_test.c @@ -1,8 +1,8 @@ // : vi ts=4 sw=4 noet : /* ================================================================================== - Copyright (c) 2020 Nokia - Copyright (c) 2020 AT&T Intellectual Property. + Copyright (c) 2020-2021 Nokia + Copyright (c) 2020-2021 AT&T Intellectual Property. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -271,5 +271,12 @@ static int sr_si_test() { errors += fail_not_equal( strncmp( payload_str, mbuf->payload, strlen( payload_str )), 0, "realloc payload (clone+nocopy) validation of unchanged payload fails" ); - return !!errors; + // ---------------------- misc coverage tests; nothing to verify other than they don't crash ----------------------- + payload_str = strdup( "The Marching 110 will play the OU fightsong after every touchdown or field goal; it is a common sound echoing from Peden Stadium in the fall." ); + + dump_n( payload_str, "A dump", strlen( payload_str ) ); + dump_40( payload_str, "another dump" ); + + return errors; + }