summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sprbtree01
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sprbtree01')
-rw-r--r--testsuites/sptests/sprbtree01/init.c2
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" );