Changeset 68e2f074 in rtems


Ignore:
Timestamp:
Apr 5, 2007, 9:14:24 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
8ff5e59d
Parents:
d51ecd6
Message:

2007-04-05 Joel Sherrill <joel@…>

  • psx01/init.c, psx01/psx01.scn: Adjust test to account for nanosleep() behavior more closely matching GNU/Linux.
Location:
testsuites/psxtests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/ChangeLog

    rd51ecd6 r68e2f074  
     12007-04-05      Joel Sherrill <joel@OARcorp.com>
     2
     3        * psx01/init.c, psx01/psx01.scn: Adjust test to account for nanosleep()
     4        behavior more closely matching GNU/Linux.
     5
    162006-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • testsuites/psxtests/psx01/init.c

    rd51ecd6 r68e2f074  
    143143  puts( "Init: nanosleep - negative seconds small delay " );
    144144  status = nanosleep ( &tv, &tr );
    145   assert( !status );
     145  assert( status == -1 );
     146  assert( errno == EINVAL );
    146147
    147148  /* use nanosleep to yield */
  • testsuites/psxtests/psx01/psx01.scn

    rd51ecd6 r68e2f074  
    33Init: uts.sysname: RTEMS
    44Init: uts.nodename: Node 1
    5 Init: uts.release: rtems-VERSION
    6 NOTE: VERSION will vary.
    7 Init: uts.version:
    8 Init: uts.machine: CPU/CPU Model
    9 NOTE: CPU/CPU Model will vary.
     5Init: uts.release: 4.7.99.1
     6Init: uts.version:
     7Init: uts.machine: SPARC/w/FPU
    108Init: clock_gettime - EINVAL (invalid clockid)
    119Init: clock_settime - EINVAL (invalid clockid)
     
    2119Fri May 24 11:05:03 1996
    2220Init: seconds remaining (0)
    23  
    2421Init: nanosleep - EINVAL (NULL time)
    2522Init: nanosleep - EINVAL (too many nanoseconds)
     
    4037Task_1: sched_yield to Init
    4138Init: pthread_exit
    42  
    4339Task_1: ID is 0x0b010002
    4440Task_1: pthread_equal - match case passed
Note: See TracChangeset for help on using the changeset viewer.