summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxcond02/psxcond02.scn
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxcond02/psxcond02.scn')
-rw-r--r--testsuites/psxtests/psxcond02/psxcond02.scn12
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 ***