RTEMS | testsuites/sptests: Edit spclock_err02 for post-2100 validation (!1103)
SHIVAM DEOLANKAR (@D3athSkulll)
gitlab at rtems.org
Thu Apr 30 01:03:10 UTC 2026
SHIVAM DEOLANKAR commented on a discussion on testsuites/sptests/spclock_err02/init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1103#note_149284
> directive_failed( status, "rtems_clock_get_tod" );
> print_time( "TA1 - rtems_clock_get_tod - ", &time, " - RTEMS_SUCCESSFUL\n" );
>
> - build_time( &time, 1, 1, 4096, 0, 0, 0, 0 );
> + /* Additional future year checks */
> +
> + build_time( &time, 3, 1, 2100, 0, 0, 0, 0 );
> status = rtems_clock_set( &time );
> - fatal_directive_status( status, RTEMS_INVALID_CLOCK, "rtems_clock_set" );
> - print_time( "TA1 - rtems_clock_set - ", &time, " - RTEMS_INVALID_CLOCK\n" );
> + directive_failed(status, "rtems_clock_set"); // expect SUCCESS
I have done this
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1103#note_149284
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260430/64572445/attachment.htm>
More information about the bugs
mailing list