RIC-851: Updated rmr to define messagetype
[ric-plt/lib/rmr.git] / test / test_gen_rt.c
index 5d9e366..3afe47b 100644 (file)
@@ -52,6 +52,8 @@ static void gen_rt( uta_ctx_t* ctx ) {
        }
 
        rt_stuff =
+               "updatert|start\n"                                                      // update check before whole table received
+               "updatert|end\n"
                "newrt|end\n"                                                           // end of table check before start of table found
                "# comment to drive full comment test\n"
                "\n"                                                                            // handle blank lines
@@ -134,7 +136,7 @@ static void gen_custom_rt( uta_ctx_t* ctx, char* buf ) {
        }
        setenv( "RMR_SEED_RT", "Xutesting.rt", 1 );
 
-       fprintf( stderr, "<INFO> creating custom rt from buffer (%d bytes)\n", strlen (buf ) );
+       fprintf( stderr, "<INFO> creating custom rt from buffer (%d bytes)\n", (int) strlen (buf ) );
        if( write( fd, buf, strlen( buf ) ) != strlen( buf ) ) {
                fprintf( stderr, "<BUGGERED> write failed: %s\n", strerror( errno ) );
        }