Gedare Bloom started a new discussion on testsuites/libtests/iodev01/init.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_152623

 > +  _Timespec_Subtract( &start_time, &end_time, &duration );
 > +  rtems_test_assert( !status );
 > +  rtems_test_assert( event_args.timedout == true );
 > +  rtems_test_assert( duration.tv_sec >= 1 );
 > +  rtems_test_assert( duration.tv_sec <= 2 );
 > +
 > +  /* Test invalid event */
 > +  event_args.index = TEST_IODEV_EVENT_COUNT;
 > +  event_args.timeout.tv_sec = 2;
 > +  event_args.timeout.tv_nsec = 0;
 > +  event_args.args = NULL;
 > +
 > +  status = ioctl( fd, RTEMS_IODEV_IOCTL_EVENT_WAIT, &event_args );
 > +  rtems_test_assert( status );
 > +
 > +  /* Test MAP_SHARED failure */

MAP_PRIVATE?

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_152623
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to