summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx08/psx08.scn
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-04 19:41:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-04 19:41:34 +0000
commit7d9632183419c75b6606cf5d7da429a1279c6493 (patch)
tree4b2a053915155d5deb85662bdba6ea4ed970f253 /testsuites/psxtests/psx08/psx08.scn
parentPatch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make fix bug (diff)
downloadrtems-7d9632183419c75b6606cf5d7da429a1279c6493.tar.bz2
Modifications necessary to support testing of exitting a pthread from
Charles-Antione Gauthier <charles.gauthier@iit.nrc.ca>.
Diffstat (limited to 'testsuites/psxtests/psx08/psx08.scn')
-rw-r--r--testsuites/psxtests/psx08/psx08.scn20
1 files changed, 12 insertions, 8 deletions
diff --git a/testsuites/psxtests/psx08/psx08.scn b/testsuites/psxtests/psx08/psx08.scn
index 34c1934f59..8629b610f2 100644
--- a/testsuites/psxtests/psx08/psx08.scn
+++ b/testsuites/psxtests/psx08/psx08.scn
@@ -2,17 +2,21 @@
Init's ID is 0x0c010001
Init: pthread_detach - ESRCH (invalid id)
Init: pthread_detach self
-Init: creating two tasks
Init: pthread_join - ESRCH (invalid id)
Init: pthread_join - SUCCESSFUL
-Task_1: sleep 1 second
-Task_2: join to Task_1
-Task_1: join to detached task (Init) -- EINVAL
-Task_1: join to self task (Init) -- EDEADLK
Task_1: exitting
-Init: returned from pthread_join
+Init: returned from pthread_join through return
+Init: pthread_join returned correct pointer
+Init: creating two pthreads
+Init: pthread_join - SUCCESSFUL
+Task_2: sleep 1 second
+Task_3: join to Task_2
+Task_2: join to detached task (Init) -- EINVAL
+Task_2: join to self task (Init) -- EDEADLK
+Task_2: exitting
+Init: returned from pthread_join through pthread_exit
Init: pthread_join returned correct pointer
Init: exitting
-Task_2: returned from pthread_join
-Task_2: pthread_join returned correct pointer
+Task_3: returned from pthread_join
+Task_3: pthread_join returned correct pointer
*** END OF POSIX TEST 8 ***