summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxcancel/psxcancel.scn
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-23 13:29:49 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-23 13:29:49 +0000
commit73dfaf83a11177c1b5c7740acae406d226a02bae (patch)
tree97cc851bae9283cf0235e10580a280c768da9994 /testsuites/psxtests/psxcancel/psxcancel.scn
parent2009-07-22 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-73dfaf83a11177c1b5c7740acae406d226a02bae.tar.bz2
2009-07-23 Santosh G Vattam <vattam.santosh@gmail.com>
* psxcancel/Makefile.am, psxcancel/init.c, psxcancel/psxcancel.scn: Add multiple cases which complete coverage of thread cancellation. * psxcancel/psxcancel.doc: New file.
Diffstat (limited to 'testsuites/psxtests/psxcancel/psxcancel.scn')
-rw-r--r--testsuites/psxtests/psxcancel/psxcancel.scn6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxcancel/psxcancel.scn b/testsuites/psxtests/psxcancel/psxcancel.scn
index bb5c7d58e0..255e9242ce 100644
--- a/testsuites/psxtests/psxcancel/psxcancel.scn
+++ b/testsuites/psxtests/psxcancel/psxcancel.scn
@@ -1,6 +1,8 @@
-
-
*** POSIX CANCEL TEST ***
+Init - pthread_setcancelstate - NULL oldstate - EINVAL
+Init - pthread_setcancelstate - bad state - EINVAL
+Init - pthread_setcanceltype - NULL oldtype - EINVAL
+Init - pthread_setcanceltype - bad type - EINVAL
countTaskDeferred: elapsed time (second): 0
countTaskDeferred: elapsed time (second): 1
countTaskDeferred: elapsed time (second): 2