From 13f09e64e56cb2bda93cbcdd3c71afc361a6ab6d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 31 Jul 1997 19:48:23 +0000 Subject: Added support for rtems_message_queue_get_number_pending. --- testsuites/sptests/sp09/screen07.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'testsuites/sptests/sp09/screen07.c') diff --git a/testsuites/sptests/sp09/screen07.c b/testsuites/sptests/sp09/screen07.c index 9fb884b45e..87e423f38c 100644 --- a/testsuites/sptests/sp09/screen07.c +++ b/testsuites/sptests/sp09/screen07.c @@ -112,6 +112,14 @@ void Screen7() ); puts( "TA1 - rtems_message_queue_ident - RTEMS_INVALID_NAME" ); + status = rtems_message_queue_get_number_pending( 100, &count ); + fatal_directive_status( + status, + RTEMS_INVALID_ID, + "rtems_message_queue_get_number_pending with illegal id" + ); + puts( "TA1 - rtems_message_queue_get_number_pending - RTEMS_INVALID_ID" ); + status = rtems_message_queue_flush( 100, &count ); fatal_directive_status( status, -- cgit v1.2.3