diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-21 15:42:45 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-05 14:29:02 +0200 |
commit | 89fc9345dea5c675f8d93546fa3c723918d3279a (patch) | |
tree | 89c32d64f375e1a9bf9d3725b1256aeb7ca46221 /testsuites/psxtests/psxrwlock01/psxrwlock01.scn | |
parent | posix: Implement self-contained POSIX barriers (diff) | |
download | rtems-89fc9345dea5c675f8d93546fa3c723918d3279a.tar.bz2 |
posix: Implement self-contained POSIX rwlocks
POSIX rwlocks are now available in all configurations and no longer
depend on --enable-posix.
Update #2514.
Update #3115.
Diffstat (limited to 'testsuites/psxtests/psxrwlock01/psxrwlock01.scn')
-rw-r--r-- | testsuites/psxtests/psxrwlock01/psxrwlock01.scn | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/testsuites/psxtests/psxrwlock01/psxrwlock01.scn b/testsuites/psxtests/psxrwlock01/psxrwlock01.scn index fb315f35f2..fe47b19bea 100644 --- a/testsuites/psxtests/psxrwlock01/psxrwlock01.scn +++ b/testsuites/psxtests/psxrwlock01/psxrwlock01.scn @@ -1,4 +1,4 @@ -*** POSIX RWLOCK TEST 01 *** +*** BEGIN OF TEST PSXRWLOCK 1 *** pthread_rwlockattr_init( NULL ) -- EINVAL pthread_rwlockattr_setpshared( NULL, private ) -- EINVAL pthread_rwlockattr_setpshared( NULL, shared ) -- EINVAL @@ -37,7 +37,6 @@ pthread_rwlock_trywrlock(BadId) -- EINVAL pthread_rwlock_unlock(BadId) -- EINVAL pthread_rwlockattr_init( &attr ) -- OK pthread_rwlock_init( &rwlock, &attr ) -- OK -pthread_rwlock_init( &rwlock, &attr ) -- EAGAIN pthread_rwlock_destroy( &rwlock ) -- OK pthread_rwlock_init( &rwlock, NULL ) -- OK pthread_rwlock_destroy( &rwlock ) -- OK @@ -94,4 +93,4 @@ pthread_rwlock_destroy( &RWLock ) -- OK pthread_rwlock_init( &rwlock, NULL ) -- OK pthread_rwlock_unlock ( &rwlock ) -- OK pthread_rwlock_unlock ( &rwlock ) -- OK -*** END OF POSIX RWLOCK TEST 01 *** +*** END OF TEST PSXRWLOCK 1 *** |