diff options
Diffstat (limited to 'nptl/tst-abstime.c')
-rw-r--r-- | nptl/tst-abstime.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nptl/tst-abstime.c b/nptl/tst-abstime.c index 56fb8a545c..c5040c591a 100644 --- a/nptl/tst-abstime.c +++ b/nptl/tst-abstime.c @@ -38,6 +38,14 @@ th (void *arg) TEST_COMPARE (pthread_mutex_timedlock (&m1, &t), ETIMEDOUT); TEST_COMPARE (pthread_rwlock_timedrdlock (&rw1, &t), ETIMEDOUT); TEST_COMPARE (pthread_rwlock_timedwrlock (&rw2, &t), ETIMEDOUT); + TEST_COMPARE (pthread_rwlock_clockrdlock (&rw1, CLOCK_REALTIME, &t), + ETIMEDOUT); + TEST_COMPARE (pthread_rwlock_clockwrlock (&rw2, CLOCK_REALTIME, &t), + ETIMEDOUT); + TEST_COMPARE (pthread_rwlock_clockrdlock (&rw1, CLOCK_MONOTONIC, &t), + ETIMEDOUT); + TEST_COMPARE (pthread_rwlock_clockwrlock (&rw2, CLOCK_MONOTONIC, &t), + ETIMEDOUT); return NULL; } |