diff options
Diffstat (limited to 'testsuites/psxtests/psxconfig01/init.c')
-rw-r--r-- | testsuites/psxtests/psxconfig01/init.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/testsuites/psxtests/psxconfig01/init.c b/testsuites/psxtests/psxconfig01/init.c index f62c2d5508..a1dc4c618f 100644 --- a/testsuites/psxtests/psxconfig01/init.c +++ b/testsuites/psxtests/psxconfig01/init.c @@ -61,7 +61,6 @@ const char rtems_test_name[] = "PSXCONFIG 1"; #define CONFIGURE_MAXIMUM_USER_EXTENSIONS 17 #define POSIX_MQ_COUNT 5 -#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 19 #define CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS 7 #define CONFIGURE_MAXIMUM_POSIX_SEMAPHORES 41 #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION @@ -447,18 +446,6 @@ static rtems_task Init(rtems_task_argument argument) ); #endif -#ifdef CONFIGURE_MAXIMUM_POSIX_MUTEXES - for (i = 0; i < CONFIGURE_MAXIMUM_POSIX_MUTEXES; ++i) { - pthread_mutex_t mutex; - eno = pthread_mutex_init(&mutex, NULL); - rtems_test_assert(eno == 0); - } - rtems_resource_snapshot_take(&snapshot); - rtems_test_assert( - snapshot.posix_api.active_mutexes == CONFIGURE_MAXIMUM_POSIX_MUTEXES - ); -#endif - #ifdef CONFIGURE_MAXIMUM_POSIX_SEMAPHORES for (i = 0; i < CONFIGURE_MAXIMUM_POSIX_SEMAPHORES; ++i) { int oflag = O_RDWR | O_CREAT | O_EXCL; |