Fixing handling of invalid header size
[ric-plt/lib/rmr.git] / test / rt_nano_static_test.c
index d56f01f..444c3ef 100644 (file)
@@ -1,8 +1,8 @@
 // : vi ts=4 sw=4 noet :
 /*
 ==================================================================================
-           Copyright (c) 2019 Nokia
-           Copyright (c) 2018-2019 AT&T Intellectual Property.
+           Copyright (c) 2019-2021 Nokia
+           Copyright (c) 2018-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.
@@ -260,6 +260,7 @@ static int rt_test( ) {
        state = rt_link2_ep( NULL );
        errors += fail_if_equal( state, -1, "call to link2_ep with nil ep returned true when false expected" );
 
+       unlink( ".ut_rmr_verbose" );
 
-       return !!errors;                        // 1 or 0 regardless of count
+       return errors;
 }