diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-15 16:30:01 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-15 16:30:01 +0000 |
commit | d95b992a2c62ecea18b1733d543beae6ae339349 (patch) | |
tree | 2ef63338d8962552c002d11d4d4ebb903878e3d4 /testsuites | |
parent | 2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-d95b992a2c62ecea18b1733d543beae6ae339349.tar.bz2 |
2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1297/cpukit
* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Fix NULL attribute
pointer handling.
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/ChangeLog | 6 | ||||
-rw-r--r-- | testsuites/psxtests/psxrwlock01/psxrwlock01.scn | 1 | ||||
-rw-r--r-- | testsuites/psxtests/psxrwlock01/test.c | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog index a327ca97eb..32d1d67afa 100644 --- a/testsuites/psxtests/ChangeLog +++ b/testsuites/psxtests/ChangeLog @@ -1,3 +1,9 @@ +2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com> + + PR 1297/cpukit + * psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Fix NULL attribute + pointer handling. + 2008-08-04 Joel Sherrill <joel.sherrill@oarcorp.com> * psxsem01/init.c: Spacing. diff --git a/testsuites/psxtests/psxrwlock01/psxrwlock01.scn b/testsuites/psxtests/psxrwlock01/psxrwlock01.scn index ceb2dd4d91..981020f0ca 100644 --- a/testsuites/psxtests/psxrwlock01/psxrwlock01.scn +++ b/testsuites/psxtests/psxrwlock01/psxrwlock01.scn @@ -16,7 +16,6 @@ pthread_rwlockattr_getpshared( &attr, &p ) -- OK pthread_rwlockattr_destroy( &attr ) -- OK pthread_rwlockattr_getpshared( &attr, &p ) destroyed -- EINVAL pthread_rwlock_init(NULL, &attr) -- EINVAL -pthread_rwlock_init(&rwlock, NULL) -- EINVAL pthread_rwlock_destroy(NULL) -- EINVAL pthread_rwlock_rdlock(NULL) -- EINVAL pthread_rwlock_timedrdlock( NULL, &abstime) -- EINVAL diff --git a/testsuites/psxtests/psxrwlock01/test.c b/testsuites/psxtests/psxrwlock01/test.c index 2305d6799f..270e512a55 100644 --- a/testsuites/psxtests/psxrwlock01/test.c +++ b/testsuites/psxtests/psxrwlock01/test.c @@ -164,10 +164,6 @@ int main( status = pthread_rwlock_init(NULL, &attr); assert( status == EINVAL ); - puts( "pthread_rwlock_init(&rwlock, NULL) -- EINVAL" ); - status = pthread_rwlock_init(&rwlock, NULL); - assert( status == EINVAL ); - puts( "pthread_rwlock_destroy(NULL) -- EINVAL" ); status = pthread_rwlock_destroy(NULL); assert( status == EINVAL ); |