diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-24 14:18:16 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-24 15:32:33 +0200 |
commit | 7088340957bbdc288016a98234a78993614e95d6 (patch) | |
tree | c18edbf6b1dc6c5f0b956af9a79b1852cc3c0bd3 /testsuites/psxtests/psxmsgq01/init.c | |
parent | score: _CORE_message_queue_Seize() (diff) | |
download | rtems-7088340957bbdc288016a98234a78993614e95d6.tar.bz2 |
psxtests/psxmsgq01: Enable test case
Diffstat (limited to 'testsuites/psxtests/psxmsgq01/init.c')
-rw-r--r-- | testsuites/psxtests/psxmsgq01/init.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/testsuites/psxtests/psxmsgq01/init.c b/testsuites/psxtests/psxmsgq01/init.c index 41cb1243aa..0c34cd972b 100644 --- a/testsuites/psxtests/psxmsgq01/init.c +++ b/testsuites/psxtests/psxmsgq01/init.c @@ -706,9 +706,8 @@ void validate_mq_receive_error_codes(void) void verify_open_functionality(void) { -#if 0 mqd_t n_mq; -#endif + int status; Start_Test( "mq_open functionality" ); @@ -716,12 +715,11 @@ void verify_open_functionality(void) * Validate a second open returns the same message queue. */ -#if 0 puts( "Init: mq_open - Open an existing mq ( same id )" ); n_mq = mq_open( RD_NAME, 0 ); - fatal_posix_service_status( rtems_test_assert( n_mq == Test_q[RD_QUEUE].mq ); -#endif + status = mq_close( n_mq ); + fatal_posix_service_status( status, 0, "mq_close"); } void verify_unlink_functionality(void) |