diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-02-26 12:55:43 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-02-26 12:55:43 +0100 |
commit | 6357e14aac7ad9928b81db157d4b0b5506a9d993 (patch) | |
tree | 60f9bbefb488f2887177c5ad837cee9c07f99b29 /testsuites/psxtests | |
parent | sptests/sp76: Check that the right task executes (diff) | |
download | rtems-6357e14aac7ad9928b81db157d4b0b5506a9d993.tar.bz2 |
psxtests/psx05: Adjust test case
Update #2170.
Diffstat (limited to 'testsuites/psxtests')
-rw-r--r-- | testsuites/psxtests/psx05/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); |