summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spobjgetnext/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/spobjgetnext/init.c')
-rw-r--r--testsuites/sptests/spobjgetnext/init.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/sptests/spobjgetnext/init.c b/testsuites/sptests/spobjgetnext/init.c
index 0408610616..037a833a88 100644
--- a/testsuites/sptests/spobjgetnext/init.c
+++ b/testsuites/sptests/spobjgetnext/init.c
@@ -68,6 +68,7 @@ rtems_task Init(
Objects_Locations location;
Objects_Id id;
Objects_Information *info;
+ Objects_Maximum active_count;
puts( "\n\n*** TEST OBJECT GET NEXT ***" );
@@ -103,6 +104,10 @@ rtems_task Init(
/* XXX try with a manager with no objects created */
+ puts( "Init - _Objects_Active_count" );
+ active_count = _Objects_Active_count( info );
+ rtems_test_assert( active_count == 1 );
+
puts( "*** END OF TEST OBJECT GET NEXT ***" );
rtems_test_exit( 0 );
}