Ignore:
Timestamp:
Nov 12, 2009, 12:21:51 AM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
3a6f4e2
Parents:
0c11618
Message:

2009-11-11 Joel Sherrill <joel.sherrill@…>

PR 1466/tests

  • Makefile.am, configure.ac, psxclock/init.c, psxclock/psxclock.doc, psxclock/psxclock.scn, psxkey03/init.c, psxsignal02/init.c, psxsignal03/init.c, psxstack01/init.c: Remove usleep() from tests. Add test specifically to test it since it is deprecated as of POSIX.1-2008.
  • psxusleep/.cvsignore, psxusleep/Makefile.am, psxusleep/init.c, psxusleep/psxusleep.doc, psxusleep/psxusleep.scn: New files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/psxsignal02/init.c

    r0c11618 rea7d86b  
    126126  Test_t             *test;
    127127  struct sigaction    act;
     128  struct timespec     delay_request;
    128129
    129130  puts( "\n\n*** POSIX TEST SIGNAL 02 ***" );
     
    162163
    163164    puts( "Init - sleep - let thread settle - OK" );
    164     usleep(500000);
     165    delay_request.tv_sec = 0;
     166    delay_request.tv_nsec = 50000000;
     167    sc = nanosleep( &delay_request, NULL );
     168    assert( !sc );
    165169  }
    166170
Note: See TracChangeset for help on using the changeset viewer.