source: rtems/testsuites/psxtests/psx05/psx05.scn @ fae441b

4.104.114.84.95
Last change on this file since fae441b was fae441b, checked in by Jennifer Averett <Jennifer.Averett@…>, on Dec 3, 1998 at 10:41:20 PM

Updated scn files to match present expected test output.

  • Property mode set to 100644
File size: 4.8 KB
Line 
1*** POSIX TEST 5 ***
2Init's ID is 0x0c010001
3Init: pthread_mutexattr_init - EINVAL (NULL attr)
4Init: pthread_mutexattr_init - SUCCESSFUL
5Init: mutex protocol is (0) -- PTHREAD_PRIO_NONE
6Init: mutex priority ceiling is 254
7Init: mutex process shared is (0) -- PTHREAD_PROCESS_PRIVATE
8Init: pthread_mutexattr_destroy - SUCCESSFUL
9Init: pthread_mutexattr_destroy - EINVAL (NULL attr)
10Init: pthread_mutexattr_destroy - EINVAL (not initialized)
11Init: pthread_mutexattr_getpshared - EINVAL (NULL attr)
12Init: pthread_mutexattr_getpshared - EINVAL (NULL pshared)
13Init: pthread_mutexattr_getpshared - EINVAL (not initialized)
14Init: pthread_mutexattr_setpshared - EINVAL (NULL attr)
15Init: pthread_mutexattr_setpshared - EINVAL (not initialized)
16Init: pthread_mutexattr_getprotocol - EINVAL (NULL attr)
17Init: pthread_mutexattr_getprotocol - EINVAL (NULL protocol)
18Init: pthread_mutexattr_getprotocol - EINVAL (not initialized)
19Init: pthread_mutexattr_setprotocol - EINVAL (NULL attr)
20Init: pthread_mutexattr_setprotocol - EINVAL (invalid protocol)
21Init: pthread_mutexattr_setprotocol - EINVAL (not initialized)
22Init: pthread_mutexattr_getprioceiling - EINVAL (NULL attr)
23Init: pthread_mutexattr_getprioceiling - EINVAL (NULL prioceiling)
24Init: pthread_mutexattr_getprioceiling - EINVAL (not initialized)
25Init: pthread_mutexattr_setprioceiling - EINVAL (NULL attr)
26Init: pthread_mutexattr_setprioceiling - EINVAL (invalid priority)
27Init: pthread_mutexattr_setprioceiling - EINVAL (not initialized)
28Init: pthread_mutex_init - EINVAL (NULL mutex_id)
29Init: pthread_mutex_init - EINVAL (not initialized attr)
30Init: pthread_mutex_init - EINVAL (bad protocol)
31Init: pthread_mutex_init - EINVAL (bad priority ceiling)
32Init: Resetting mutex attributes
33Init: Changing mutex attributes
34Init: mutex protocol is (1) -- PTHREAD_PRIO_INHERIT
35Init: mutex priority ceiling is 128
36Init: mutex process shared is (1) -- PTHREAD_PROCESS_SHARED
37Init: Resetting mutex attributes
38Init: pthread_mutex_init - SUCCESSFUL
39Init: pthread_mutex_init - EBUSY (attempt to initialize an existing mutex)
40Init: pthread_mutex_trylock - EINVAL (illegal ID)
41Init: pthread_mutex_trylock - SUCCESSFUL
42Init: pthread_mutex_trylock - EDEADLK (already locked)
43Init: pthread_mutex_lock - EDEADLK (already locked)
44Init: Sleep 1 second
45Task: pthread_mutex_trylock already locked
46Task: pthread_mutex_lock unavailable
47Init: pthread_mutex_unlock - EINVAL (invalid id)
48Init: pthread_mutex_unlock - SUCCESSFUL
49Init: pthread_mutex_unlock - EPERM (not owner)
50Init: pthread_mutex_timedlock - time out in 1/2 second
51Task: mutex acquired
52Task: sleep for 2 seconds
53Init: pthread_mutex_timedlock - EAGAIN (timeout)
54Init: pthread_mutex_init - SUCCESSFUL
55Init: pthread_mutex_init - EAGAIN (too many)
56Init: pthread_mutexattr_destroy - SUCCESSFUL
57Init: pthread_mutex_destroy - SUCCESSFUL
58Init: pthread_mutex_destroy - EINVAL (invalid id)
59Init: pthread_mutexattr_init - SUCCESSFUL
60Init: pthread_mutex_init - SUCCESSFUL
61Init: pthread_mutex_trylock - SUCCESSFUL
62Init: pthread_mutex_destroy - EBUSY (already locked)
63Init: pthread_mutex_unlock - SUCCESSFUL
64Init: pthread_mutex_destroy - SUCCESSFUL
65Init: pthread_mutexattr_init - SUCCESSFUL
66Init: pthread_mutexattr_setprotocol - SUCCESSFUL (PTHREAD_PRIO_INHERIT)
67Init: pthread_mutex_init - SUCCESSFUL
68Init: pthread_mutex_trylock - SUCCESSFUL
69Init: pthread_setschedparam - Setting Task2 priority to highest
70Task 2: pthread_mutex_lock unavailable (inherit case)
71Init: pthread_getschedparam - priority = 254
72Init: pthread_mutex_unlock - SUCCESSFUL
73Task 2: mutex acquired
74Task 2: unlock Mutex 2
75Task 2: exit
76Init: pthread_mutexattr_destroy - SUCCESSFUL
77Init: pthread_mutex_destroy - SUCCESSFUL
78Init: pthread_mutexattr_init - SUCCESSFUL
79Init: pthread_mutexattr_setprotocol - SUCCESSFUL (PTHREAD_PRIO_PROTECT)
80Init: pthread_mutex_init - SUCCESSFUL
81Init: pthread_mutex_getprioceiling - EINVAL (invalid id)
82Init: pthread_mutex_getprioceiling - EINVAL (NULL ceiling)
83Init: pthread_mutex_getprioceiling - 254
84Init: pthread_mutex_setprioceiling - EINVAL (invalid id)
85Init: pthread_mutex_setprioceiling - EINVAL (illegal priority)
86Init: pthread_mutex_setprioceiling - EINVAL (NULL ceiling)
87Init: pthread_mutex_setprioceiling - new ceiling = 200
88Init: pthread_mutex_setprioceiling - old ceiling = 254
89Init: pthread_getschedparam - priority = 2
90Init: pthread_mutex_trylock - SUCCESSFUL
91Init: pthread_getschedparam - priority = 200
92Init: pthread_setschedparam - set Task3 priority to highest
93Init: Sleep 1 second
94Task 3: pthread_mutex_lock unavailable (inherit case)
95Init: pthread_mutex_unlock - SUCCESSFUL
96Task 3: mutex acquired
97Task 3: unlock Mutex 2
98Task 3: pthread_getschedparam priority = 199
99Task 3: exit
100Init: pthread_mutex_getprioceiling- ceiling = 200
101Init: pthread_setschedparam - set Init priority to highest
102Init: pthread_mutex_lock - EINVAL (priority ceiling violation)
103*** END OF POSIX TEST 5 ***
Note: See TracBrowser for help on using the repository browser.