Correct bug identified in static analysis
[ric-plt/lib/rmr.git] / test / sr_si_static_test.c
index e3b5a77..213a08b 100644 (file)
@@ -82,7 +82,6 @@ static int sr_si_test() {
        ctx->max_mlen = ctx->max_plen + sizeof( uta_mhdr_t );
        ctx->my_name = strdup( "dummy-test" );
        ctx->my_ip = strdup( "30.4.19.86:1111" );
-       uta_lookup_rtg( ctx );
 
        gen_rt( ctx );                                                          // forces a static load with some known info since we don't start the rtc()
        gen_rt( ctx );                                                          // force a second load to test cloning
@@ -272,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" );
 
 
+       // ---------------------- 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;
+
 }