From 6357e14aac7ad9928b81db157d4b0b5506a9d993 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 26 Feb 2015 12:55:43 +0100 Subject: psxtests/psx05: Adjust test case Update #2170. --- testsuites/psxtests/psx05/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psx05') diff --git a/testsuites/psxtests/psx05/init.c b/testsuites/psxtests/psx05/init.c index 34a1aec3d1..51d2cc20ef 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 ); -- cgit v1.2.3