summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx08/psx08.scn
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psx08/psx08.scn')
-rw-r--r--testsuites/psxtests/psx08/psx08.scn18
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuites/psxtests/psx08/psx08.scn b/testsuites/psxtests/psx08/psx08.scn
index e69de29bb2..34c1934f59 100644
--- a/testsuites/psxtests/psx08/psx08.scn
+++ b/testsuites/psxtests/psx08/psx08.scn
@@ -0,0 +1,18 @@
+*** POSIX TEST 8 ***
+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: pthread_join returned correct pointer
+Init: exitting
+Task_2: returned from pthread_join
+Task_2: pthread_join returned correct pointer
+*** END OF POSIX TEST 8 ***