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:
Joel Sherrill
2011-08-02 21:46:20 +00:00
parent b2f66e60d7
commit 6ba5971e85
2 changed files with 8 additions and 1 deletions

View File

@@ -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

View File

@@ -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);
}