summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp09/screen07.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-07-31 19:48:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-07-31 19:48:23 +0000
commit13f09e64e56cb2bda93cbcdd3c71afc361a6ab6d (patch)
tree48bcba5392282cf70fbee0a5c4513668ba1db0e5 /testsuites/sptests/sp09/screen07.c
parentAdded rtems_message_queue_get_number_pending directive. (diff)
downloadrtems-13f09e64e56cb2bda93cbcdd3c71afc361a6ab6d.tar.bz2
Added support for rtems_message_queue_get_number_pending.
Diffstat (limited to 'testsuites/sptests/sp09/screen07.c')
-rw-r--r--testsuites/sptests/sp09/screen07.c8
1 files changed, 8 insertions, 0 deletions
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,