diff options
author | Joel Sherrill <joel@rtems.org> | 2016-03-09 15:15:37 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2016-06-16 09:04:11 -0500 |
commit | 6131b849081335e101f92b4a99e01572153d44f5 (patch) | |
tree | 453f987a20252c55b7084e030508a8a02d1f348a /testsuites/psxtests/psxcond02/psxcond02.scn | |
parent | mptests/mp03/task1.c: Make method static to fix warning (diff) | |
download | rtems-6131b849081335e101f92b4a99e01572153d44f5.tar.bz2 |
Add pthread_condattr_getclock() and pthread_condattr_setclock()
updates #2608.
Diffstat (limited to 'testsuites/psxtests/psxcond02/psxcond02.scn')
-rw-r--r-- | testsuites/psxtests/psxcond02/psxcond02.scn | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxcond02/psxcond02.scn b/testsuites/psxtests/psxcond02/psxcond02.scn new file mode 100644 index 0000000000..511d1f39aa --- /dev/null +++ b/testsuites/psxtests/psxcond02/psxcond02.scn @@ -0,0 +1,12 @@ +*** BEGIN OF TEST PSXCOND 2 *** +pthread_condattr_getclock (NULL attribute) - EINVAL +pthread_condattr_getclock (NULL clock) - EINVAL +pthread_condattr_setclock (NULL attribute) - EINVAL +pthread_condattr_init - OK +pthread_condattr_setclock (bad clock)- EINVAL +pthread_condattr_setclock (CLOCK_PROCESS_CPUTIME_ID)- EINVAL +pthread_condattr_setclock (CLOCK_THREAD_CPUTIME_ID)- EINVAL +pthread_condattr_init - OK +pthread_condattr_setclock (CLOCK_REALTIME)- OK +pthread_condattr_setclock (CLOCK_MONOTONIC)- OK +*** END OF TEST PSXCOND 2 *** |