diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-09-27 00:59:30 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-09-27 00:59:30 +0000 |
commit | c976c706beeb77ca9423868ff53e3a7dac6fedaf (patch) | |
tree | 627b9682e7c502035f5e4e0bc3471bf814710958 /testsuites/sptests/sprbtree01 | |
parent | 2011-09-26 Petr Benes <benesp16@fel.cvut.cz> (diff) | |
download | rtems-c976c706beeb77ca9423868ff53e3a7dac6fedaf.tar.bz2 |
2011-09-26 Petr Benes <benesp16@fel.cvut.cz>
PR 1923/testing
* spcbssched02/spcbssched02.scn, spcbssched02/system.h,
spcbssched03/init.c, spcbssched03/system.h, spedfsched02/system.h,
spedfsched03/system.h, sprbtree01/init.c: Improve coverage.
Diffstat (limited to 'testsuites/sptests/sprbtree01')
-rw-r--r-- | testsuites/sptests/sprbtree01/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/sptests/sprbtree01/init.c b/testsuites/sptests/sprbtree01/init.c index ceabf25cd9..03e1e685a3 100644 --- a/testsuites/sptests/sprbtree01/init.c +++ b/testsuites/sptests/sprbtree01/init.c @@ -465,6 +465,8 @@ rtems_task Init( puts ( "INIT - ERROR ON RBTREE NULL GRANDPARENT MISMATCH" ); if ( _RBTree_Is_red( NULL ) != 0 ) puts ( "INIT - ERROR ON RBTREE NULL IS RED MISMATCH" ); + if ( _RBTree_Is_red( rbtree1.root ) != 0 ) + puts ( "INIT - ERROR ON RBTREE NULL IS RED MISMATCH" ); puts( "INIT - Removing 100 nodes" ); |