Changeset 78f5dae in rtems


Ignore:
Timestamp:
Aug 23, 1996, 3:55:02 PM (24 years ago)
Author:
Mark Johannes <Mark.Johannes@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
237088c
Parents:
e2ceeca7
Message:

Filled in the screen

Files:
18 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/psxtests/psx01/psx01.scn

    re2ceeca7 r78f5dae  
     1*** POSIX TEST 1 ***
     2Init: clock_gettime - EINVAL (invalid clockid)
     3Init: clock_settime - EINVAL (invalid clockid)
     4Init: clock_getres - EINVAL (invalid clockid)
     5Init: clock_getres - EINVAL (NULL resolution)
     6Init: clock_getres - SUCCESSFUL
     7Init: resolution = sec (100), nsec (0)
     8 
     9Fri May 24 11:05:00 1996
     10Init: clock_settime - SUCCESSFUL
     11Fri May 24 11:05:00 1996
     12Fri May 24 11:05:00 1996
     13Fri May 24 11:05:03 1996
     14Fri May 24 11:05:03 1996
     15Init: seconds remaining (0)
     16 
     17Init: nanosleep - EINVAL (NULL time)
     18Init: nanosleep - EAGAIN (negative seconds)
     19Init: nanosleep - EINVAL (too many nanoseconds)
     20Init: nanosleep - yield
     21Init: nanosleep - 3.05 seconds
     22Fri May 24 11:05:06 1996
     23Init: sec (0), nsec (0) remaining
     24Init: ID is 0x0c010001
     25Init: sched_get_priority_min (SCHED_FIFO) -- 1
     26Init: sched_get_priority_min -- EINVAL (invalid policy)
     27Init: sched_get_priority_max (SCHED_FIFO) -- 255
     28Init: sched_get_priority_min -- EINVAL (invalid policy)
     29Init: Round Robin quantum is 0 seconds, 500000000 nanoseconds
     30Init: pthread_create - SUCCESSFUL
     31Init: pthread_create - EAGAIN (too many threads)
     32Init: sched_yield to Task_1
     33Task_1: sched_yield to Init
     34Init: pthread_exit
     35 
     36Task_1: ID is 0x0c010002
     37Task_1: pthread_equal - match case passed
     38Task_1: pthread_equal - different case passed
     39Task_1: pthread_equal - first id bad
     40Task_1: pthread_equal - second id bad
     41Task_1: pthread_once - EINVAL (NULL once_control)
     42Task_1: pthread_once - EINVAL (NULL init_routine)
     43Task_1: pthread_once - SUCCESSFUL (init_routine executes)
     44Test_init_routine: invoked
     45Task_1: pthread_once - SUCCESSFUL (init_routine does not execute)
     46*** END OF POSIX TEST 1 ***
  • c/src/tests/psxtests/psx02/psx02.scn

    re2ceeca7 r78f5dae  
     1*** POSIX TEST 2 ***
     2Init's ID is 0x0c010001
     3Signal: 16 caught by 0xc010001 (1)
     4Init: Block SIGUSR1
     5Init: Signals pending 0x00000000
     6Init: send SIGUSR1 to self
     7Init: Signals pending 0x00008000
     8Init: Unblock SIGUSR1
     9Signal: 16 caught by 0xc010001 (2)
     10Task1: Fri May 24 11:05:00 1996
     11Signal: 16 caught by 0xc010001 (3)
     12Init: signal was processed with 5:0 time remaining
     13Task1: Fri May 24 11:05:01 1996
     14Signal: 16 caught by 0xc010001 (4)
     15Init: signal was processed with 3:990000000 time remaining
     16Task1: Fri May 24 11:05:02 1996
     17Signal: 16 caught by 0xc010001 (5)
     18Init: signal was processed with 2:980000000 time remaining
     19Task1: Fri May 24 11:05:03 1996
     20Signal: 16 caught by 0xc010001 (6)
     21Init: signal was processed with 1:970000000 time remaining
     22Task1: Fri May 24 11:05:04 1996
     23Signal: 16 caught by 0xc010001 (7)
     24Init: signal was processed with 0:960000000 time remaining
     25Init: signal was not processed with 0:0 time remaining
     26*** END OF POSIX TEST 2 ***
  • c/src/tests/psxtests/psx03/psx03.scn

    re2ceeca7 r78f5dae  
     1*** POSIX TEST 3 ***
     2Init's ID is 0x0c010001
     3Init: waiting on any signal for 3 seconds.
     4Init: correctly timed out waiting for SIGUSR1.
     5 
     6Init: Block SIGUSR2
     7Init: waiting on any signal for 3 seconds.
     8Task_1: Fri May 24 11:05:03 1996
     9Task_1: pthread_kill - SIGUSR2 to Init
     10Init: correctly timed out waiting for SIGUSR1.
     11 
     12Init: waiting on any signal for 3 seconds.
     13Task_2: Fri May 24 11:05:06 1996
     14Task_1: pthread_kill - SIGUSR1 to Init
     15Signal: 16 caught by 0xc010001 (1)
     16Init: received (16) SIGUSR1=16
     17*** END OF POSIX TEST 3 ***
  • c/src/tests/psxtests/psx04/psx04.scn

    re2ceeca7 r78f5dae  
     1*** POSIX TEST 4 ***
     2Init's ID is 0x0c010001
     3Init: sigemptyset -  set= 0x00000000
     4Init: sigfillset -  set= 0xffffffff
     5Init: sigdelset - delete SIGUSR1 set= 0xffff7fff
     6Init: sigismember - FALSE since SIGUSR1 is not a member
     7Init: sigismember - TRUE since SIGUSR2 is a member
     8Init: send SIGUSR1 to process
     9Signal: 16 caught by 0xc010001 (1)
     10 
     11Init: Block SIGUSR1
     12Init: send SIGUSR1 to process
     13Signal: 16 caught by 0xc010001 (1)
     14 
     15Init: Block SIGUSR1
     16Init: Signals pending 0x00000000
     17Init: send SIGUSR1 to process
     18Init: Signals pending 0x00008000
     19Init: Unblock SIGUSR1
     20Signal: 16 caught by 0xc010001 (2)
     21 
     22Init: create a thread interested in SIGUSR1
     23Init: Block SIGUSR1
     24Init: Signals pending 0x00000000
     25Init: sleep so the other task can block
     26Task_1: sleeping for 5 seconds
     27Init: send SIGUSR1 to process
     28Init: Signals pending 0x00008000
     29Init: sleep so the other task can catch signal
     30Signal: 16 caught by 0xc010002 (3)
     31Task_1: 4 seconds left
     32Task_1: exit
     33 
     34Init: Unblock SIGALRM
     35Init: Firing alarm in 5 seconds
     36Init: 0 seconds left on previous alarm
     37Init: Firing alarm in 2 seconds
     38Init: 4 seconds left on previous alarm
     39Init: Wait 4 seconds for alarm
     40Signal: 14 caught by 0xc010001 (4)
     41Init: 2 seconds left in sleep
     42 
     43Init: Block SIGUSR1 and SIGUSR2 only
     44Init: Previous blocked set was 0x00008000
     45Init: Current blocked set is 0x00018000
     46Init: Unblock all signals
     47Init: Previous blocked set was 0x00018000
     48 
     49Init: create a thread to send Init SIGUSR1
     50Init: sigsuspend for any signal
     51Task_2: sending SIGUSR1
     52Task_2: exit
     53Signal: 16 caught by 0xc010001 (5)
     54Init: awakended from sigsuspend status=00000016
     55 
     56Init: create a thread to sent Process SIGUSR1 with SA_SIGINFO
     57Init: sleep so the Task_3 can sigqueue SIGUSR1
     58Task_3: sigqueue SIGUSR1 with value= 16
     59Signal_info: 16 caught by 0xc010004 (6) si_signo= 16 si_code= 1 value= 16
     60 
     61Task_3: sigwaitinfo SIGUSR1 with value= 16
     62Init: sigqueue occurred
     63Init: Block SIGUSR1
     64Init: send SIGUSR1 to process
     65Init: sleep so the Task_3 can receive SIGUSR1
     66Task_3: si_signo= 16 si_code= 1 value= 0
     67 
     68Task_3: sigwait SIGUSR1
     69Init: Block SIGUSR1
     70Init: send SIGUSR1 to process
     71Init: sleep so the Task_3 can receive SIGUSR1
     72Task_3: signo= 16
     73 
     74Task_3: pause
     75Init: Block SIGUSR2
     76Init: send SIGUSR2 to process
     77Init: sleep so the Task_3 can receive SIGUSR2
     78Task_3: pause= 17
     79 
     80Task_3: sending SIGUSR2
     81Task_3: sleep so the Init task can reguest a signal
     82Init: sigsuspend for any signal
     83Init: awakended from sigsuspend status=17
     84 
     85Init: sigemptyset - EINVAL (set invalid)
     86Init: sigfillset - EINVAL (set invalid)
     87Init: sigaddset - EINVAL (set invalid)
     88Init: sigaddset - SUCCESSFUL (signal = 0)
     89Init: sigaddset - EINVAL (set invalid)
     90Init: sigdelset - EINVAL (set invalid)
     91Init: sigdelset - SUCCESSFUL (signal = 0)
     92Init: sigdelset - EINVAL (set invalid)
     93Init: sigismember - EINVAL (set invalid)
     94Init: sigismember - SUCCESSFUL (signal = 0)
     95Init: sigismember - EINVAL (signal invalid)
     96Init: sigaction - SUCCESSFUL (signal = 0)
     97Init: sigaction - EINVAL (signal invalid)
     98Init: sigaction - EINVAL (SIGKILL)
     99Init: pthread_sigmask - EINVAL (set and oset invalid)
     100Init: pthread_sigmask - EINVAL (how invalid)
     101Init: sigpending - EINVAL (set invalid)
     102Init: pthread_sigmask - EINVAL (timout->nsec invalid < 0)
     103Init: pthread_sigmask - EINVAL (timout->nsec invalid to large)
     104Init: pthread_kill - EINVAL (sig invalid)
     105Init: pthread_kill - ENOSYS (signal SA_SIGINFO)
     106Init: pthread_kill - ESRCH (signal SA_SIGINFO)
     107Init: pthread_kill - SUCCESSFUL (signal = 0)
     108Init: pthread_kill - SUCCESSFUL (signal = SIG_IGN)
     109Init: kill - ESRCH (pid invalid)
     110Init: kill - SUCCESSFUL (signal = 0)
     111Init: kill - EINVAL (sig invalid)
     112*** END OF POSIX TEST 4 ***
  • c/src/tests/psxtests/psx05/psx05.scn

    re2ceeca7 r78f5dae  
     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 255
     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)
     11 
     12Init: pthread_mutexattr_getpshared - EINVAL (NULL attr)
     13Init: pthread_mutexattr_getpshared - EINVAL (NULL pshared)
     14Init: pthread_mutexattr_getpshared - EINVAL (not initialized)
     15Init: pthread_mutexattr_setpshared - EINVAL (NULL attr)
     16Init: pthread_mutexattr_setpshared - EINVAL (not initialized)
     17 
     18Init: pthread_mutexattr_getprotocol - EINVAL (NULL attr)
     19Init: pthread_mutexattr_getprotocol - EINVAL (NULL protocol)
     20Init: pthread_mutexattr_getprotocol - EINVAL (not initialized)
     21Init: pthread_mutexattr_setprotocol - EINVAL (NULL attr)
     22Init: pthread_mutexattr_setprotocol - EINVAL (invalid protocol)
     23Init: pthread_mutexattr_setprotocol - EINVAL (not initialized)
     24 
     25Init: pthread_mutexattr_getprioceiling - EINVAL (NULL attr)
     26Init: pthread_mutexattr_getprioceiling - EINVAL (NULL prioceiling)
     27Init: pthread_mutexattr_getprioceiling - EINVAL (not initialized)
     28Init: pthread_mutexattr_setprioceiling - EINVAL (NULL attr)
     29Init: pthread_mutexattr_setprioceiling - EINVAL (invalid priority)
     30Init: pthread_mutexattr_setprioceiling - EINVAL (not initialized)
     31 
     32Init: pthread_mutex_init - EINVAL (NULL mutex_id)
     33Init: pthread_mutex_init - EINVAL (not initialized attr)
     34Init: pthread_mutex_init - EINVAL (bad protocol)
     35Init: pthread_mutex_init - EINVAL (bad priority ceiling)
     36Init: Resetting mutex attributes
     37Init: Changing mutex attributes
     38Init: mutex protocol is (1) -- PTHREAD_PRIO_INHERIT
     39Init: mutex priority ceiling is 128
     40Init: mutex process shared is (1) -- PTHREAD_PROCESS_SHARED
     41Init: Resetting mutex attributes
     42Init: pthread_mutex_init - SUCCESSFUL
     43Init: pthread_mutex_init - EBUSY (attempt to initialize an existing mutex)
     44Init: pthread_mutex_trylock - EINVAL (illegal ID)
     45Init: pthread_mutex_trylock - SUCCESSFUL
     46Init: pthread_mutex_trylock - EDEADLK (already locked)
     47Init: pthread_mutex_lock - EDEADLK (already locked)
     48Init: Sleep 1 second
     49Task: pthread_mutex_trylock already locked
     50Task: pthread_mutex_lock unavailable
     51Init: pthread_mutex_unlock - EINVAL (invalid id)
     52Init: pthread_mutex_unlock - SUCCESSFUL
     53Init: pthread_mutex_unlock - EPERM (not owner)
     54Init: pthread_mutex_timedlock - time out in 1/2 second
     55Task: mutex acquired
     56Task: sleep for 2 seconds
     57Init: pthread_mutex_timedlock - EAGAIN (timeout)
     58 
     59Init: pthread_mutex_init - SUCCESSFUL
     60Init: pthread_mutex_init - EAGAIN (too many)
     61Init: pthread_mutexattr_destroy - SUCCESSFUL
     62Init: pthread_mutex_destroy - SUCCESSFUL
     63Init: pthread_mutex_destroy - EINVAL (invalid id)
     64 
     65Init: pthread_mutexattr_init - SUCCESSFUL
     66Init: pthread_mutex_init - SUCCESSFUL
     67Init: pthread_mutex_trylock - SUCCESSFUL
     68Init: pthread_mutex_destroy - EBUSY (already locked)
     69Init: pthread_mutex_unlock - SUCCESSFUL
     70Init: pthread_mutex_destroy - SUCCESSFUL
     71 
     72Init: pthread_mutexattr_init - SUCCESSFUL
     73Init: pthread_mutexattr_setprotocol - SUCCESSFUL (PTHREAD_PRIO_INHERIT)
     74Init: pthread_mutex_init - SUCCESSFUL
     75Init: pthread_mutex_trylock - SUCCESSFUL
     76Init: pthread_setschedparam - Setting Task2 priority to highest
     77Task 2: pthread_mutex_lock unavailable (inherit case)
     78Init: pthread_getschedparam - priority = 255
     79Init: pthread_mutex_unlock - SUCCESSFUL
     80Task 2: mutex acquired
     81Task 2: unlock Mutex 2
     82Task 2: exit
     83Init: pthread_mutexattr_destroy - SUCCESSFUL
     84Init: pthread_mutex_destroy - SUCCESSFUL
     85 
     86Init: pthread_mutexattr_init - SUCCESSFUL
     87Init: pthread_mutexattr_setprotocol - SUCCESSFUL (PTHREAD_PRIO_PROTECT)
     88Init: pthread_mutex_init - SUCCESSFUL
     89Init: pthread_mutex_getprioceiling - EINVAL (invalid id)
     90Init: pthread_mutex_getprioceiling - EINVAL (NULL ceiling)
     91Init: pthread_mutex_getprioceiling - 255
     92Init: pthread_mutex_setprioceiling - EINVAL (invalid id)
     93Init: pthread_mutex_setprioceiling - EINVAL (illegal priority)
     94Init: pthread_mutex_setprioceiling - EINVAL (NULL ceiling)
     95Init: pthread_mutex_setprioceiling - new ceiling = 200
     96Init: pthread_mutex_setprioceiling - old ceiling = 1
     97Init: pthread_getschedparam - priority = 2
     98Init: pthread_mutex_trylock - SUCCESSFUL
     99Init: pthread_getschedparam - priority = 200
     100Init: pthread_setschedparam - set Task3 priority to highest
     101Init: Sleep 1 second
     102Task 3: pthread_mutex_lock unavailable (inherit case)
     103Init: pthread_mutex_unlock - SUCCESSFUL
     104Task 3: mutex acquired
     105Task 3: unlock Mutex 2
     106Task 3: pthread_getschedparam priority = 199
     107Task 3: exit
     108Init: pthread_mutex_getprioceiling- ceiling = 200
     109Init: pthread_setschedparam - set Init priority to highest
     110Init: pthread_mutex_lock - EINVAL (priority ceiling violation)
     111*** END OF POSIX TEST 5 ***
  • c/src/tests/psxtests/psx06/psx06.scn

    re2ceeca7 r78f5dae  
     1*** POSIX TEST 6 ***
     2Init's ID is 0x0c010001
     3 
     4Init: pthread_key_create - SUCCESSFUL
     5Destructor invoked 0 times
     6Init: pthread_key_create - EAGAIN (too many keys)
     7Init: pthread_setspecific - EINVAL (invalid key)
     8Init: pthread_getspecific - EINVAL (invalid key)
     9Init: pthread_key_delete - EINVAL (invalid key)
     10Init: Setting the key to 0
     11Init: Got the key value of 0
     12Task_1: Setting the key to 1
     13Task_1: Got the key value of 1
     14Task_1: exitting
     15Destructor invoked 4 times
     16Task_2: Setting the key to 2
     17Task_2: Got the key value of 2
     18Task2: exitting
     19Init: pthread_key_delete - SUCCESSFUL
     20Destructor invoked 5 times
     21*** END OF POSIX TEST 6 ***
  • c/src/tests/psxtests/psx07/psx07.scn

    re2ceeca7 r78f5dae  
     1*** POSIX TEST 7 ***
     2Init's ID is 0x0c010001
     3Init: pthread_attr_init - EINVAL (NULL attr)
     4Init: pthread_attr_init - SUCCESSFUL
     5Init: initialize and destroy an attribute - SUCCESSFUL
     6Init: pthread_attr_destroy - EINVAL (NULL attr)
     7Init: pthread_attr_destroy - EINVAL (not initialized)
     8Init: pthread_create - EINVAL (attr not initialized)
     9Init: pthread_create - EINVAL (stacksize too small)
     10Init: pthread_create - EAGAIN (stacksize too large)
     11Init: pthread_create - EINVAL (invalid inherit scheduler)
     12Init: pthread_create - ENOTSUP (unsupported system contention scope)
     13Init: pthread_create - SUCCESSFUL (inherit scheduler)
     14Task_1: exitting
     15 
     16Init: pthread_attr_setscope - EINVAL (NULL attr)
     17Init: pthread_attr_setscope - ENOTSUP
     18Init: pthread_attr_setscope - EINVAL (not initialized attr)
     19Init: pthread_attr_setscope - EINVAL (invalid scope)
     20Init: pthread_attr_setscope - SUCCESSFUL
     21Init: pthread_attr_getscope - EINVAL (NULL attr)
     22Init: pthread_attr_getscope - EINVAL (NULL scope)
     23Init: pthread_attr_getscope - EINVAL (not initialized attr)
     24Init: pthread_attr_getscope - SUCCESSFUL
     25Init: current scope attribute = 0
     26 
     27Init: pthread_attr_setinheritsched - EINVAL (NULL attr)
     28Init: pthread_attr_setinheritsched - EINVAL (not initialized attr)
     29Init: pthread_attr_setinheritsched - ENOTSUP (invalid inheritsched)
     30Init: pthread_attr_setinheritsched - SUCCESSFUL
     31Init: pthread_attr_getinheritsched - EINVAL (NULL attr)
     32Init: pthread_attr_getinheritsched - EINVAL (NULL inheritsched)
     33Init: pthread_attr_getinheritsched - EINVAL (not initialized attr)
     34Init: pthread_attr_getinheritsched - SUCCESSFUL
     35Init: current inherit scheduler attribute = 1
     36 
     37Init: pthread_attr_setschedpolicy - EINVAL (NULL attr)
     38Init: pthread_attr_setschedpolicy - EINVAL (not initialized attr)
     39Init: pthread_attr_setschedpolicy - ENOTSUP (invalid schedpolicy)
     40Init: pthread_attr_setschedpolicy - SUCCESSFUL
     41Init: pthread_attr_getschedpolicy - EINVAL (NULL attr)
     42Init: pthread_attr_getschedpolicy - EINVAL (NULL schedpolicy)
     43Init: pthread_attr_getschedpolicy - EINVAL (not initialized attr)
     44Init: pthread_attr_getschedpolicy - SUCCESSFUL
     45Init: current scheduler policy attribute = 2
     46 
     47Init: pthread_attr_setstacksize - EINVAL (NULL attr)
     48Init: pthread_attr_setstacksize - EINVAL (not initialized attr)
     49Init: pthread_attr_setstacksize - SUCCESSFUL (low stacksize)
     50Init: pthread_attr_setstacksize - SUCCESSFUL (high stacksize)
     51Init: pthread_attr_getstacksize - EINVAL (NULL attr)
     52Init: pthread_attr_getstacksize - EINVAL (NULL stacksize)
     53Init: pthread_attr_getstacksize - EINVAL (not initialized attr)
     54Init: pthread_attr_getstacksize - SUCCESSFUL
     55Init: current stack size attribute = 5120
     56 
     57Init: pthread_attr_setstackaddr - EINVAL (NULL attr)
     58Init: pthread_attr_setstackaddr - EINVAL (not initialized attr)
     59Init: pthread_attr_setstackaddr - SUCCESSFUL
     60Init: pthread_attr_getstackaddr - EINVAL (NULL attr)
     61Init: pthread_attr_getstackaddr - EINVAL (NULL stackaddr)
     62Init: pthread_attr_getstackaddr - EINVAL (not initialized attr)
     63Init: pthread_attr_getstackaddr - SUCCESSFUL
     64Init: current stack address attribute = 0x0
     65 
     66Init: pthread_attr_setdetachstate - EINVAL (NULL attr)
     67Init: pthread_attr_setdetachstate - EINVAL (not initialized attr)
     68Init: pthread_attr_setdetachstate - EINVAL (invalid detachstate)
     69Init: pthread_attr_setdetachstate - SUCCESSFUL
     70Init: pthread_attr_getdetachstate - EINVAL (NULL attr)
     71Init: pthread_attr_getdetachstate - EINVAL (NULL detatchstate)
     72Init: pthread_attr_getdetachstate - EINVAL (not initialized attr)
     73Init: pthread_attr_getdetachstate - SUCCESSFUL
     74Init: current detach state attribute = 1
     75 
     76Init: pthread_attr_getschedparam - SUCCESSFUL
     77Init: sched priority      = 2
     78Init: ss_low_priority     = 0
     79Init: ss_replenish_period = (0, 0)
     80Init: ss_initial_budget = (0, 0)
     81Init: pthread_attr_setschedparam - EINVAL (NULL attr)
     82Init: pthread_attr_setschedparam - EINVAL (not initialized attr)
     83Init: pthread_attr_setschedparam - EINVAL (NULL schedparam)
     84Init: pthread_attr_setschedparam - SUCCESSFUL
     85Init: pthread_attr_getschedparam - EINVAL (NULL attr)
     86Init: pthread_attr_getschedparam - EINVAL (not initialized attr)
     87Init: pthread_attr_getschedparam - EINVAL (NULL schedparam)
     88 
     89Init: pthread_getschedparam - EINVAL (NULL policy)
     90Init: pthread_getschedparam - EINVAL (NULL schedparam)
     91Init: pthread_getschedparam - ESRCH (bad thread)
     92Init: pthread_getschedparam - SUCCESSFUL
     93Init: policy = 1
     94Init: sched priority      = 2
     95Init: ss_low_priority     = 0
     96Init: ss_replenish_period = (0, 0)
     97Init: ss_initial_budget = (0, 0)
     98 
     99Init: pthread_setschedparam - EINVAL (NULL schedparam)
     100Init: pthread_setschedparam - EINVAL (invalid priority)
     101Init: pthread_setschedparam - EINVAL (invalid policy)
     102Init: pthread_setschedparam - ESRCH (invalid thread)
     103Init: pthread_setschedparam - EINVAL (replenish < budget)
     104Init: pthread_setschedparam - EINVAL (invalid priority)
     105*** END OF POSIX TEST 7 ***
  • c/src/tests/psxtests/psx08/psx08.scn

    re2ceeca7 r78f5dae  
     1*** POSIX TEST 8 ***
     2Init's ID is 0x0c010001
     3Init: pthread_detach - ESRCH (invalid id)
     4Init: pthread_detach self
     5Init: creating two tasks
     6Init: pthread_join - ESRCH (invalid id)
     7Init: pthread_join - SUCCESSFUL
     8Task_1: sleep 1 second
     9Task_2: join to Task_1
     10Task_1: join to detached task (Init) -- EINVAL
     11Task_1: join to self task (Init) -- EDEADLK
     12Task_1: exitting
     13Init: returned from pthread_join
     14Init: pthread_join returned correct pointer
     15Init: exitting
     16Task_2: returned from pthread_join
     17Task_2: pthread_join returned correct pointer
     18*** END OF POSIX TEST 8 ***
  • c/src/tests/psxtests/psx09/psx09.scn

    re2ceeca7 r78f5dae  
     1*** POSIX TEST 9 ***
     2Init's ID is 0x0c010001
     3Init: pthread_getschedparam - SUCCESSFUL
     4Init: Fri May 24 11:05:00 1996 - current priority = 2
     5Init: pthread_setschedparam - SUCCESSFUL (sporadic server)
     6Init: Fri May 24 11:05:00 1996 - new priority = 200
     7Init: Fri May 24 11:05:00 1996 - new priority = 100
     8Init: Fri May 24 11:05:00 1996 - new priority = 200
     9Init: Fri May 24 11:05:00 1996 - new priority = 100
     10Init: Fri May 24 11:05:01 1996 - new priority = 200
     11 
     12Init: pthread_setschedparam - SUCCESSFUL (sporadic server)
     13Init: Initializing mutex attributes for priority ceiling
     14Init: Creating a mutex
     15Init: Fri May 24 11:05:01 1996 - new priority = 150
     16Init: Fri May 24 11:05:01 1996 - new priority = 100
     17Init: pthread_mutex_lock acquire the lock
     18Init: Fri May 24 11:05:01 1996 - new priority = 131
     19Init: Fri May 24 11:05:01 1996 - new priority = 150
     20Init: unlock mutex
     21Init: Fri May 24 11:05:01 1996 - new priority = 150
     22Init: Fri May 24 11:05:01 1996 - new priority = 100
     23*** END OF POSIX TEST 9 ***
  • testsuites/psxtests/psx01/psx01.scn

    re2ceeca7 r78f5dae  
     1*** POSIX TEST 1 ***
     2Init: clock_gettime - EINVAL (invalid clockid)
     3Init: clock_settime - EINVAL (invalid clockid)
     4Init: clock_getres - EINVAL (invalid clockid)
     5Init: clock_getres - EINVAL (NULL resolution)
     6Init: clock_getres - SUCCESSFUL
     7Init: resolution = sec (100), nsec (0)
     8 
     9Fri May 24 11:05:00 1996
     10Init: clock_settime - SUCCESSFUL
     11Fri May 24 11:05:00 1996
     12Fri May 24 11:05:00 1996
     13Fri May 24 11:05:03 1996
     14Fri May 24 11:05:03 1996
     15Init: seconds remaining (0)
     16 
     17Init: nanosleep - EINVAL (NULL time)
     18Init: nanosleep - EAGAIN (negative seconds)
     19Init: nanosleep - EINVAL (too many nanoseconds)
     20Init: nanosleep - yield
     21Init: nanosleep - 3.05 seconds
     22Fri May 24 11:05:06 1996
     23Init: sec (0), nsec (0) remaining
     24Init: ID is 0x0c010001
     25Init: sched_get_priority_min (SCHED_FIFO) -- 1
     26Init: sched_get_priority_min -- EINVAL (invalid policy)
     27Init: sched_get_priority_max (SCHED_FIFO) -- 255
     28Init: sched_get_priority_min -- EINVAL (invalid policy)
     29Init: Round Robin quantum is 0 seconds, 500000000 nanoseconds
     30Init: pthread_create - SUCCESSFUL
     31Init: pthread_create - EAGAIN (too many threads)
     32Init: sched_yield to Task_1
     33Task_1: sched_yield to Init
     34Init: pthread_exit
     35 
     36Task_1: ID is 0x0c010002
     37Task_1: pthread_equal - match case passed
     38Task_1: pthread_equal - different case passed
     39Task_1: pthread_equal - first id bad
     40Task_1: pthread_equal - second id bad
     41Task_1: pthread_once - EINVAL (NULL once_control)
     42Task_1: pthread_once - EINVAL (NULL init_routine)
     43Task_1: pthread_once - SUCCESSFUL (init_routine executes)
     44Test_init_routine: invoked
     45Task_1: pthread_once - SUCCESSFUL (init_routine does not execute)
     46*** END OF POSIX TEST 1 ***
  • testsuites/psxtests/psx02/psx02.scn

    re2ceeca7 r78f5dae  
     1*** POSIX TEST 2 ***
     2Init's ID is 0x0c010001
     3Signal: 16 caught by 0xc010001 (1)
     4Init: Block SIGUSR1
     5Init: Signals pending 0x00000000
     6Init: send SIGUSR1 to self
     7Init: Signals pending 0x00008000
     8Init: Unblock SIGUSR1
     9Signal: 16 caught by 0xc010001 (2)
     10Task1: Fri May 24 11:05:00 1996
     11Signal: 16 caught by 0xc010001 (3)
     12Init: signal was processed with 5:0 time remaining
     13Task1: Fri May 24 11:05:01 1996
     14Signal: 16 caught by 0xc010001 (4)
     15Init: signal was processed with 3:990000000 time remaining
     16Task1: Fri May 24 11:05:02 1996
     17Signal: 16 caught by 0xc010001 (5)
     18Init: signal was processed with 2:980000000 time remaining
     19Task1: Fri May 24 11:05:03 1996
     20Signal: 16 caught by 0xc010001 (6)
     21Init: signal was processed with 1:970000000 time remaining
     22Task1: Fri May 24 11:05:04 1996
     23Signal: 16 caught by 0xc010001 (7)
     24Init: signal was processed with 0:960000000 time remaining
     25Init: signal was not processed with 0:0 time remaining
     26*** END OF POSIX TEST 2 ***
  • testsuites/psxtests/psx03/psx03.scn

    re2ceeca7 r78f5dae  
     1*** POSIX TEST 3 ***
     2Init's ID is 0x0c010001
     3Init: waiting on any signal for 3 seconds.
     4Init: correctly timed out waiting for SIGUSR1.
     5 
     6Init: Block SIGUSR2
     7Init: waiting on any signal for 3 seconds.
     8Task_1: Fri May 24 11:05:03 1996
     9Task_1: pthread_kill - SIGUSR2 to Init
     10Init: correctly timed out waiting for SIGUSR1.
     11 
     12Init: waiting on any signal for 3 seconds.
     13Task_2: Fri May 24 11:05:06 1996
     14Task_1: pthread_kill - SIGUSR1 to Init
     15Signal: 16 caught by 0xc010001 (1)
     16Init: received (16) SIGUSR1=16
     17*** END OF POSIX TEST 3 ***
  • testsuites/psxtests/psx04/psx04.scn

    re2ceeca7 r78f5dae  
     1*** POSIX TEST 4 ***
     2Init's ID is 0x0c010001
     3Init: sigemptyset -  set= 0x00000000
     4Init: sigfillset -  set= 0xffffffff
     5Init: sigdelset - delete SIGUSR1 set= 0xffff7fff
     6Init: sigismember - FALSE since SIGUSR1 is not a member
     7Init: sigismember - TRUE since SIGUSR2 is a member
     8Init: send SIGUSR1 to process
     9Signal: 16 caught by 0xc010001 (1)
     10 
     11Init: Block SIGUSR1
     12Init: send SIGUSR1 to process
     13Signal: 16 caught by 0xc010001 (1)
     14 
     15Init: Block SIGUSR1
     16Init: Signals pending 0x00000000
     17Init: send SIGUSR1 to process
     18Init: Signals pending 0x00008000
     19Init: Unblock SIGUSR1
     20Signal: 16 caught by 0xc010001 (2)
     21 
     22Init: create a thread interested in SIGUSR1
     23Init: Block SIGUSR1
     24Init: Signals pending 0x00000000
     25Init: sleep so the other task can block
     26Task_1: sleeping for 5 seconds
     27Init: send SIGUSR1 to process
     28Init: Signals pending 0x00008000
     29Init: sleep so the other task can catch signal
     30Signal: 16 caught by 0xc010002 (3)
     31Task_1: 4 seconds left
     32Task_1: exit
     33 
     34Init: Unblock SIGALRM
     35Init: Firing alarm in 5 seconds
     36Init: 0 seconds left on previous alarm
     37Init: Firing alarm in 2 seconds
     38Init: 4 seconds left on previous alarm
     39Init: Wait 4 seconds for alarm
     40Signal: 14 caught by 0xc010001 (4)
     41Init: 2 seconds left in sleep
     42 
     43Init: Block SIGUSR1 and SIGUSR2 only
     44Init: Previous blocked set was 0x00008000
     45Init: Current blocked set is 0x00018000
     46Init: Unblock all signals
     47Init: Previous blocked set was 0x00018000
     48 
     49Init: create a thread to send Init SIGUSR1
     50Init: sigsuspend for any signal
     51Task_2: sending SIGUSR1
     52Task_2: exit
     53Signal: 16 caught by 0xc010001 (5)
     54Init: awakended from sigsuspend status=00000016
     55 
     56Init: create a thread to sent Process SIGUSR1 with SA_SIGINFO
     57Init: sleep so the Task_3 can sigqueue SIGUSR1
     58Task_3: sigqueue SIGUSR1 with value= 16
     59Signal_info: 16 caught by 0xc010004 (6) si_signo= 16 si_code= 1 value= 16
     60 
     61Task_3: sigwaitinfo SIGUSR1 with value= 16
     62Init: sigqueue occurred
     63Init: Block SIGUSR1
     64Init: send SIGUSR1 to process
     65Init: sleep so the Task_3 can receive SIGUSR1
     66Task_3: si_signo= 16 si_code= 1 value= 0
     67 
     68Task_3: sigwait SIGUSR1
     69Init: Block SIGUSR1
     70Init: send SIGUSR1 to process
     71Init: sleep so the Task_3 can receive SIGUSR1
     72Task_3: signo= 16
     73 
     74Task_3: pause
     75Init: Block SIGUSR2
     76Init: send SIGUSR2 to process
     77Init: sleep so the Task_3 can receive SIGUSR2
     78Task_3: pause= 17
     79 
     80Task_3: sending SIGUSR2
     81Task_3: sleep so the Init task can reguest a signal
     82Init: sigsuspend for any signal
     83Init: awakended from sigsuspend status=17
     84 
     85Init: sigemptyset - EINVAL (set invalid)
     86Init: sigfillset - EINVAL (set invalid)
     87Init: sigaddset - EINVAL (set invalid)
     88Init: sigaddset - SUCCESSFUL (signal = 0)
     89Init: sigaddset - EINVAL (set invalid)
     90Init: sigdelset - EINVAL (set invalid)
     91Init: sigdelset - SUCCESSFUL (signal = 0)
     92Init: sigdelset - EINVAL (set invalid)
     93Init: sigismember - EINVAL (set invalid)
     94Init: sigismember - SUCCESSFUL (signal = 0)
     95Init: sigismember - EINVAL (signal invalid)
     96Init: sigaction - SUCCESSFUL (signal = 0)
     97Init: sigaction - EINVAL (signal invalid)
     98Init: sigaction - EINVAL (SIGKILL)
     99Init: pthread_sigmask - EINVAL (set and oset invalid)
     100Init: pthread_sigmask - EINVAL (how invalid)
     101Init: sigpending - EINVAL (set invalid)
     102Init: pthread_sigmask - EINVAL (timout->nsec invalid < 0)
     103Init: pthread_sigmask - EINVAL (timout->nsec invalid to large)
     104Init: pthread_kill - EINVAL (sig invalid)
     105Init: pthread_kill - ENOSYS (signal SA_SIGINFO)
     106Init: pthread_kill - ESRCH (signal SA_SIGINFO)
     107Init: pthread_kill - SUCCESSFUL (signal = 0)
     108Init: pthread_kill - SUCCESSFUL (signal = SIG_IGN)
     109Init: kill - ESRCH (pid invalid)
     110Init: kill - SUCCESSFUL (signal = 0)
     111Init: kill - EINVAL (sig invalid)
     112*** END OF POSIX TEST 4 ***
  • testsuites/psxtests/psx05/psx05.scn

    re2ceeca7 r78f5dae  
     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 255
     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)
     11 
     12Init: pthread_mutexattr_getpshared - EINVAL (NULL attr)
     13Init: pthread_mutexattr_getpshared - EINVAL (NULL pshared)
     14Init: pthread_mutexattr_getpshared - EINVAL (not initialized)
     15Init: pthread_mutexattr_setpshared - EINVAL (NULL attr)
     16Init: pthread_mutexattr_setpshared - EINVAL (not initialized)
     17 
     18Init: pthread_mutexattr_getprotocol - EINVAL (NULL attr)
     19Init: pthread_mutexattr_getprotocol - EINVAL (NULL protocol)
     20Init: pthread_mutexattr_getprotocol - EINVAL (not initialized)
     21Init: pthread_mutexattr_setprotocol - EINVAL (NULL attr)
     22Init: pthread_mutexattr_setprotocol - EINVAL (invalid protocol)
     23Init: pthread_mutexattr_setprotocol - EINVAL (not initialized)
     24 
     25Init: pthread_mutexattr_getprioceiling - EINVAL (NULL attr)
     26Init: pthread_mutexattr_getprioceiling - EINVAL (NULL prioceiling)
     27Init: pthread_mutexattr_getprioceiling - EINVAL (not initialized)
     28Init: pthread_mutexattr_setprioceiling - EINVAL (NULL attr)
     29Init: pthread_mutexattr_setprioceiling - EINVAL (invalid priority)
     30Init: pthread_mutexattr_setprioceiling - EINVAL (not initialized)
     31 
     32Init: pthread_mutex_init - EINVAL (NULL mutex_id)
     33Init: pthread_mutex_init - EINVAL (not initialized attr)
     34Init: pthread_mutex_init - EINVAL (bad protocol)
     35Init: pthread_mutex_init - EINVAL (bad priority ceiling)
     36Init: Resetting mutex attributes
     37Init: Changing mutex attributes
     38Init: mutex protocol is (1) -- PTHREAD_PRIO_INHERIT
     39Init: mutex priority ceiling is 128
     40Init: mutex process shared is (1) -- PTHREAD_PROCESS_SHARED
     41Init: Resetting mutex attributes
     42Init: pthread_mutex_init - SUCCESSFUL
     43Init: pthread_mutex_init - EBUSY (attempt to initialize an existing mutex)
     44Init: pthread_mutex_trylock - EINVAL (illegal ID)
     45Init: pthread_mutex_trylock - SUCCESSFUL
     46Init: pthread_mutex_trylock - EDEADLK (already locked)
     47Init: pthread_mutex_lock - EDEADLK (already locked)
     48Init: Sleep 1 second
     49Task: pthread_mutex_trylock already locked
     50Task: pthread_mutex_lock unavailable
     51Init: pthread_mutex_unlock - EINVAL (invalid id)
     52Init: pthread_mutex_unlock - SUCCESSFUL
     53Init: pthread_mutex_unlock - EPERM (not owner)
     54Init: pthread_mutex_timedlock - time out in 1/2 second
     55Task: mutex acquired
     56Task: sleep for 2 seconds
     57Init: pthread_mutex_timedlock - EAGAIN (timeout)
     58 
     59Init: pthread_mutex_init - SUCCESSFUL
     60Init: pthread_mutex_init - EAGAIN (too many)
     61Init: pthread_mutexattr_destroy - SUCCESSFUL
     62Init: pthread_mutex_destroy - SUCCESSFUL
     63Init: pthread_mutex_destroy - EINVAL (invalid id)
     64 
     65Init: pthread_mutexattr_init - SUCCESSFUL
     66Init: pthread_mutex_init - SUCCESSFUL
     67Init: pthread_mutex_trylock - SUCCESSFUL
     68Init: pthread_mutex_destroy - EBUSY (already locked)
     69Init: pthread_mutex_unlock - SUCCESSFUL
     70Init: pthread_mutex_destroy - SUCCESSFUL
     71 
     72Init: pthread_mutexattr_init - SUCCESSFUL
     73Init: pthread_mutexattr_setprotocol - SUCCESSFUL (PTHREAD_PRIO_INHERIT)
     74Init: pthread_mutex_init - SUCCESSFUL
     75Init: pthread_mutex_trylock - SUCCESSFUL
     76Init: pthread_setschedparam - Setting Task2 priority to highest
     77Task 2: pthread_mutex_lock unavailable (inherit case)
     78Init: pthread_getschedparam - priority = 255
     79Init: pthread_mutex_unlock - SUCCESSFUL
     80Task 2: mutex acquired
     81Task 2: unlock Mutex 2
     82Task 2: exit
     83Init: pthread_mutexattr_destroy - SUCCESSFUL
     84Init: pthread_mutex_destroy - SUCCESSFUL
     85 
     86Init: pthread_mutexattr_init - SUCCESSFUL
     87Init: pthread_mutexattr_setprotocol - SUCCESSFUL (PTHREAD_PRIO_PROTECT)
     88Init: pthread_mutex_init - SUCCESSFUL
     89Init: pthread_mutex_getprioceiling - EINVAL (invalid id)
     90Init: pthread_mutex_getprioceiling - EINVAL (NULL ceiling)
     91Init: pthread_mutex_getprioceiling - 255
     92Init: pthread_mutex_setprioceiling - EINVAL (invalid id)
     93Init: pthread_mutex_setprioceiling - EINVAL (illegal priority)
     94Init: pthread_mutex_setprioceiling - EINVAL (NULL ceiling)
     95Init: pthread_mutex_setprioceiling - new ceiling = 200
     96Init: pthread_mutex_setprioceiling - old ceiling = 1
     97Init: pthread_getschedparam - priority = 2
     98Init: pthread_mutex_trylock - SUCCESSFUL
     99Init: pthread_getschedparam - priority = 200
     100Init: pthread_setschedparam - set Task3 priority to highest
     101Init: Sleep 1 second
     102Task 3: pthread_mutex_lock unavailable (inherit case)
     103Init: pthread_mutex_unlock - SUCCESSFUL
     104Task 3: mutex acquired
     105Task 3: unlock Mutex 2
     106Task 3: pthread_getschedparam priority = 199
     107Task 3: exit
     108Init: pthread_mutex_getprioceiling- ceiling = 200
     109Init: pthread_setschedparam - set Init priority to highest
     110Init: pthread_mutex_lock - EINVAL (priority ceiling violation)
     111*** END OF POSIX TEST 5 ***
  • testsuites/psxtests/psx06/psx06.scn

    re2ceeca7 r78f5dae  
     1*** POSIX TEST 6 ***
     2Init's ID is 0x0c010001
     3 
     4Init: pthread_key_create - SUCCESSFUL
     5Destructor invoked 0 times
     6Init: pthread_key_create - EAGAIN (too many keys)
     7Init: pthread_setspecific - EINVAL (invalid key)
     8Init: pthread_getspecific - EINVAL (invalid key)
     9Init: pthread_key_delete - EINVAL (invalid key)
     10Init: Setting the key to 0
     11Init: Got the key value of 0
     12Task_1: Setting the key to 1
     13Task_1: Got the key value of 1
     14Task_1: exitting
     15Destructor invoked 4 times
     16Task_2: Setting the key to 2
     17Task_2: Got the key value of 2
     18Task2: exitting
     19Init: pthread_key_delete - SUCCESSFUL
     20Destructor invoked 5 times
     21*** END OF POSIX TEST 6 ***
  • testsuites/psxtests/psx07/psx07.scn

    re2ceeca7 r78f5dae  
     1*** POSIX TEST 7 ***
     2Init's ID is 0x0c010001
     3Init: pthread_attr_init - EINVAL (NULL attr)
     4Init: pthread_attr_init - SUCCESSFUL
     5Init: initialize and destroy an attribute - SUCCESSFUL
     6Init: pthread_attr_destroy - EINVAL (NULL attr)
     7Init: pthread_attr_destroy - EINVAL (not initialized)
     8Init: pthread_create - EINVAL (attr not initialized)
     9Init: pthread_create - EINVAL (stacksize too small)
     10Init: pthread_create - EAGAIN (stacksize too large)
     11Init: pthread_create - EINVAL (invalid inherit scheduler)
     12Init: pthread_create - ENOTSUP (unsupported system contention scope)
     13Init: pthread_create - SUCCESSFUL (inherit scheduler)
     14Task_1: exitting
     15 
     16Init: pthread_attr_setscope - EINVAL (NULL attr)
     17Init: pthread_attr_setscope - ENOTSUP
     18Init: pthread_attr_setscope - EINVAL (not initialized attr)
     19Init: pthread_attr_setscope - EINVAL (invalid scope)
     20Init: pthread_attr_setscope - SUCCESSFUL
     21Init: pthread_attr_getscope - EINVAL (NULL attr)
     22Init: pthread_attr_getscope - EINVAL (NULL scope)
     23Init: pthread_attr_getscope - EINVAL (not initialized attr)
     24Init: pthread_attr_getscope - SUCCESSFUL
     25Init: current scope attribute = 0
     26 
     27Init: pthread_attr_setinheritsched - EINVAL (NULL attr)
     28Init: pthread_attr_setinheritsched - EINVAL (not initialized attr)
     29Init: pthread_attr_setinheritsched - ENOTSUP (invalid inheritsched)
     30Init: pthread_attr_setinheritsched - SUCCESSFUL
     31Init: pthread_attr_getinheritsched - EINVAL (NULL attr)
     32Init: pthread_attr_getinheritsched - EINVAL (NULL inheritsched)
     33Init: pthread_attr_getinheritsched - EINVAL (not initialized attr)
     34Init: pthread_attr_getinheritsched - SUCCESSFUL
     35Init: current inherit scheduler attribute = 1
     36 
     37Init: pthread_attr_setschedpolicy - EINVAL (NULL attr)
     38Init: pthread_attr_setschedpolicy - EINVAL (not initialized attr)
     39Init: pthread_attr_setschedpolicy - ENOTSUP (invalid schedpolicy)
     40Init: pthread_attr_setschedpolicy - SUCCESSFUL
     41Init: pthread_attr_getschedpolicy - EINVAL (NULL attr)
     42Init: pthread_attr_getschedpolicy - EINVAL (NULL schedpolicy)
     43Init: pthread_attr_getschedpolicy - EINVAL (not initialized attr)
     44Init: pthread_attr_getschedpolicy - SUCCESSFUL
     45Init: current scheduler policy attribute = 2
     46 
     47Init: pthread_attr_setstacksize - EINVAL (NULL attr)
     48Init: pthread_attr_setstacksize - EINVAL (not initialized attr)
     49Init: pthread_attr_setstacksize - SUCCESSFUL (low stacksize)
     50Init: pthread_attr_setstacksize - SUCCESSFUL (high stacksize)
     51Init: pthread_attr_getstacksize - EINVAL (NULL attr)
     52Init: pthread_attr_getstacksize - EINVAL (NULL stacksize)
     53Init: pthread_attr_getstacksize - EINVAL (not initialized attr)
     54Init: pthread_attr_getstacksize - SUCCESSFUL
     55Init: current stack size attribute = 5120
     56 
     57Init: pthread_attr_setstackaddr - EINVAL (NULL attr)
     58Init: pthread_attr_setstackaddr - EINVAL (not initialized attr)
     59Init: pthread_attr_setstackaddr - SUCCESSFUL
     60Init: pthread_attr_getstackaddr - EINVAL (NULL attr)
     61Init: pthread_attr_getstackaddr - EINVAL (NULL stackaddr)
     62Init: pthread_attr_getstackaddr - EINVAL (not initialized attr)
     63Init: pthread_attr_getstackaddr - SUCCESSFUL
     64Init: current stack address attribute = 0x0
     65 
     66Init: pthread_attr_setdetachstate - EINVAL (NULL attr)
     67Init: pthread_attr_setdetachstate - EINVAL (not initialized attr)
     68Init: pthread_attr_setdetachstate - EINVAL (invalid detachstate)
     69Init: pthread_attr_setdetachstate - SUCCESSFUL
     70Init: pthread_attr_getdetachstate - EINVAL (NULL attr)
     71Init: pthread_attr_getdetachstate - EINVAL (NULL detatchstate)
     72Init: pthread_attr_getdetachstate - EINVAL (not initialized attr)
     73Init: pthread_attr_getdetachstate - SUCCESSFUL
     74Init: current detach state attribute = 1
     75 
     76Init: pthread_attr_getschedparam - SUCCESSFUL
     77Init: sched priority      = 2
     78Init: ss_low_priority     = 0
     79Init: ss_replenish_period = (0, 0)
     80Init: ss_initial_budget = (0, 0)
     81Init: pthread_attr_setschedparam - EINVAL (NULL attr)
     82Init: pthread_attr_setschedparam - EINVAL (not initialized attr)
     83Init: pthread_attr_setschedparam - EINVAL (NULL schedparam)
     84Init: pthread_attr_setschedparam - SUCCESSFUL
     85Init: pthread_attr_getschedparam - EINVAL (NULL attr)
     86Init: pthread_attr_getschedparam - EINVAL (not initialized attr)
     87Init: pthread_attr_getschedparam - EINVAL (NULL schedparam)
     88 
     89Init: pthread_getschedparam - EINVAL (NULL policy)
     90Init: pthread_getschedparam - EINVAL (NULL schedparam)
     91Init: pthread_getschedparam - ESRCH (bad thread)
     92Init: pthread_getschedparam - SUCCESSFUL
     93Init: policy = 1
     94Init: sched priority      = 2
     95Init: ss_low_priority     = 0
     96Init: ss_replenish_period = (0, 0)
     97Init: ss_initial_budget = (0, 0)
     98 
     99Init: pthread_setschedparam - EINVAL (NULL schedparam)
     100Init: pthread_setschedparam - EINVAL (invalid priority)
     101Init: pthread_setschedparam - EINVAL (invalid policy)
     102Init: pthread_setschedparam - ESRCH (invalid thread)
     103Init: pthread_setschedparam - EINVAL (replenish < budget)
     104Init: pthread_setschedparam - EINVAL (invalid priority)
     105*** END OF POSIX TEST 7 ***
  • testsuites/psxtests/psx08/psx08.scn

    re2ceeca7 r78f5dae  
     1*** POSIX TEST 8 ***
     2Init's ID is 0x0c010001
     3Init: pthread_detach - ESRCH (invalid id)
     4Init: pthread_detach self
     5Init: creating two tasks
     6Init: pthread_join - ESRCH (invalid id)
     7Init: pthread_join - SUCCESSFUL
     8Task_1: sleep 1 second
     9Task_2: join to Task_1
     10Task_1: join to detached task (Init) -- EINVAL
     11Task_1: join to self task (Init) -- EDEADLK
     12Task_1: exitting
     13Init: returned from pthread_join
     14Init: pthread_join returned correct pointer
     15Init: exitting
     16Task_2: returned from pthread_join
     17Task_2: pthread_join returned correct pointer
     18*** END OF POSIX TEST 8 ***
  • testsuites/psxtests/psx09/psx09.scn

    re2ceeca7 r78f5dae  
     1*** POSIX TEST 9 ***
     2Init's ID is 0x0c010001
     3Init: pthread_getschedparam - SUCCESSFUL
     4Init: Fri May 24 11:05:00 1996 - current priority = 2
     5Init: pthread_setschedparam - SUCCESSFUL (sporadic server)
     6Init: Fri May 24 11:05:00 1996 - new priority = 200
     7Init: Fri May 24 11:05:00 1996 - new priority = 100
     8Init: Fri May 24 11:05:00 1996 - new priority = 200
     9Init: Fri May 24 11:05:00 1996 - new priority = 100
     10Init: Fri May 24 11:05:01 1996 - new priority = 200
     11 
     12Init: pthread_setschedparam - SUCCESSFUL (sporadic server)
     13Init: Initializing mutex attributes for priority ceiling
     14Init: Creating a mutex
     15Init: Fri May 24 11:05:01 1996 - new priority = 150
     16Init: Fri May 24 11:05:01 1996 - new priority = 100
     17Init: pthread_mutex_lock acquire the lock
     18Init: Fri May 24 11:05:01 1996 - new priority = 131
     19Init: Fri May 24 11:05:01 1996 - new priority = 150
     20Init: unlock mutex
     21Init: Fri May 24 11:05:01 1996 - new priority = 150
     22Init: Fri May 24 11:05:01 1996 - new priority = 100
     23*** END OF POSIX TEST 9 ***
Note: See TracChangeset for help on using the changeset viewer.