summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-25 14:10:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-25 14:10:38 +0000
commit524767cbfeafdad9b684d6d6e46ed138076edf97 (patch)
tree689153ca58837b2275a466eb61318d8765e9d5f1 /testsuites
parentChanged leading spaces to periods to ease comparing test output. (diff)
downloadrtems-524767cbfeafdad9b684d6d6e46ed138076edf97.tar.bz2
Removed reinitialize mutex test case to reflect earlier code change in
the executive.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/psxtests/psx05/init.c9
1 files changed, 8 insertions, 1 deletions
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 );