forked from Imagelibrary/rtems
2011-08-02 Petr Benes <benesp16@fel.cvut.cz>
PR 1883/testing * sprbtree01/init.c: Attempt provide coverage on last two ranges.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-08-02 Petr Benes <benesp16@fel.cvut.cz>
|
||||
|
||||
PR 1883/testing
|
||||
* sprbtree01/init.c: Attempt provide coverage on last two ranges.
|
||||
|
||||
2011-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
PR 1877/cpukit
|
||||
|
||||
@@ -453,6 +453,8 @@ rtems_task Init(
|
||||
puts ( "INIT - ERROR ON RBTREE NULL SIBLING MISMATCH" );
|
||||
if ( _RBTree_Grandparent( NULL ) != NULL )
|
||||
puts ( "INIT - ERROR ON RBTREE NULL GRANDPARENT MISMATCH" );
|
||||
if ( _RBTree_Is_red( NULL ) != 0 )
|
||||
puts ( "INIT - ERROR ON RBTREE NULL IS RED MISMATCH" );
|
||||
|
||||
puts( "INIT - Removing 100 nodes" );
|
||||
|
||||
@@ -477,7 +479,7 @@ rtems_task Init(
|
||||
rtems_test_exit(0);
|
||||
}
|
||||
|
||||
if (rtems_rbtree_find_header(p) != NULL) {
|
||||
if (rtems_rbtree_find_header(&node_array[0].Node) != NULL) {
|
||||
puts ("INIT - ERROR ON RBTREE HEADER MISMATCH");
|
||||
rtems_test_exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user