summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxcond01/psxcond01.doc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-12-10 17:56:22 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-12-10 17:56:22 -0600
commit74c15fe6960a0db29d6d0bb1e2e9b4e80d92179a (patch)
treee775f4d3ef22fb5912077426245e50df85667eca /testsuites/psxtests/psxcond01/psxcond01.doc
parentalarm.c: Use _Assert() not assert() (diff)
downloadrtems-74c15fe6960a0db29d6d0bb1e2e9b4e80d92179a.tar.bz2
psxtmcond01: Fix bug where mutex not locked and add EPERM error check
This test formerly had a bug in that it attempted to wait on a condition variable with a Mutex that was not locked. This is undefined by POSIX. But a recent change to match GNU/Linux behavior resulted in finding a bug in the test.
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psxcond01/psxcond01.doc4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxcond01/psxcond01.doc b/testsuites/psxtests/psxcond01/psxcond01.doc
index 04c1847678..36642780ee 100644
--- a/testsuites/psxtests/psxcond01/psxcond01.doc
+++ b/testsuites/psxtests/psxcond01/psxcond01.doc
@@ -1,4 +1,4 @@
-# COPYRIGHT (c) 1989-2009.
+# COPYRIGHT (c) 1989-2013.
# On-Line Applications Research Corporation (OAR).
#
# The license and distribution terms for this file may be
@@ -23,6 +23,8 @@ concepts:
to attempt to block on the same condition variable using a different
mutex.
++ Verify EPERM is returned on pthread_cond_wait when mutex is not locked
+
+ Verify error conditions in pthread_mutexattr_settype
+ Verify normal paths through pthread_mutexattr_gettype