From 524767cbfeafdad9b684d6d6e46ed138076edf97 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 25 Oct 1999 14:10:38 +0000 Subject: Removed reinitialize mutex test case to reflect earlier code change in the executive. --- testsuites/psxtests/psx05/init.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'testsuites') diff --git a/testsuites/psxtests/psx05/init.c b/testsuites/psxtests/psx05/init.c index e89286fac8..4c9f779a6a 100644 --- a/testsuites/psxtests/psx05/init.c +++ b/testsuites/psxtests/psx05/init.c @@ -283,11 +283,18 @@ void *POSIX_Init( printf( "status = %d\n", status ); assert( !status ); - puts( "Init: pthread_mutex_init - EBUSY (attempt to initialize an existing mutex)" ); + /* + * This is not required to be an error and when it is, there are + * behavioral conflicts with other implementations. + */ + puts( "Init: pthread_mutex_init - EBUSY (reinitialize an existing mutex) - skipped" ); + +#if 0 status = pthread_mutex_init( &Mutex_id, &attr ); if ( !status ) printf( "status = %d\n", status ); assert( status == EBUSY ); +#endif puts( "Init: pthread_mutex_trylock - EINVAL (illegal ID)" ); status = pthread_mutex_trylock( &Mutex_bad_id ); -- cgit v1.2.3