Changeset 34ba0e5a in rtems


Ignore:
Timestamp:
05/25/22 12:19:11 (6 weeks ago)
Author:
Gabriel Moyano <gabriel.moyano@…>
Branches:
master
Children:
2fded81
Parents:
044e8b6
git-author:
Gabriel Moyano <gabriel.moyano@…> (05/25/22 12:19:11)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/27/22 11:42:56)
Message:

sppps01: Improve default handler test

Update #2349.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/sppps01/init.c

    r044e8b6 r34ba0e5a  
    6767  pps_dev.pps.ppsparam.mode = PPS_CAPTUREASSERT;
    6868
     69  /* If no timeout is requested, pps_fetch() doesn't call the default handler */
     70  memset( &fetch, 0, sizeof( fetch ) );
     71  status = pps_ioctl( PPS_IOC_FETCH, (caddr_t)&fetch, &pps_dev.pps );
     72  T_eq_int( status, 0 );
     73
     74  fetch.timeout.tv_sec = 1;
    6975  status = pps_ioctl( PPS_IOC_FETCH, (caddr_t)&fetch, &pps_dev.pps );
    7076  T_eq_int( status, ETIMEDOUT );
Note: See TracChangeset for help on using the changeset viewer.