[rtems commit] psxtests/psx05: Adjust test case
Sebastian Huber
sebh at rtems.org
Thu Feb 26 11:56:19 UTC 2015
Module: rtems
Branch: master
Commit: 6357e14aac7ad9928b81db157d4b0b5506a9d993
Changeset: http://git.rtems.org/rtems/commit/?id=6357e14aac7ad9928b81db157d4b0b5506a9d993
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Feb 26 12:55:43 2015 +0100
psxtests/psx05: Adjust test case
Update #2170.
---
testsuites/psxtests/psx05/init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testsuites/psxtests/psx05/init.c b/testsuites/psxtests/psx05/init.c
index 34a1aec..51d2cc2 100644
--- a/testsuites/psxtests/psx05/init.c
+++ b/testsuites/psxtests/psx05/init.c
@@ -377,9 +377,9 @@ void *POSIX_Init(
puts( "Init: pthread_mutex_trylock - EDEADLK (already locked)" );
status = pthread_mutex_trylock( &Mutex_id );
- if ( status != EDEADLK )
+ if ( status != EBUSY )
printf( "status = %d\n", status );
- rtems_test_assert( status == EDEADLK );
+ rtems_test_assert( status == EBUSY );
puts( "Init: pthread_mutex_lock - EINVAL (NULL id)" );
status = pthread_mutex_lock( NULL );
More information about the vc
mailing list