CI: Add silent cmake SonarCloud scan
[ric-plt/lib/rmr.git] / test / sr_si_static_test.c
index 0bbd045..7487185 100644 (file)
@@ -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,14 @@ 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" );
+
+       unlink( ".ut_rmr_verbose" );
+
+       return errors;
+
 }