glibc/rt
Adhemerval Zanella 088d3291ef y2038: Add test coverage
It is enabled through a new rule, tests-y2038, which is built only
when the ABI supports the comapt 64-bit time_t (defined by the
header time64-compat.h, which also enables the creation of the
symbol Version for Linux).  It means the tests are not built
for ABI which already provide default 64-bit time_t.

The new rule already adds the required LFS and 64-bit time_t
compiler flags.

The current coverage is:

  * libc:
    - adjtime                       tst-adjtime-time64
    - adjtimex                      tst-adjtimex-time64
    - clock_adjtime                 tst-clock_adjtime-time64
    - clock_getres                  tst-clock-time64, tst-cpuclock1-time64
    - clock_gettime                 tst-clock-time64, tst-clock2-time64,
				    tst-cpuclock1-time64
    - clock_nanosleep               tst-clock_nanosleep-time64,
				    tst-cpuclock1-time64
    - clock_settime                 tst-clock2-time64
    - cnd_timedwait                 tst-cnd-timedwait-time64
    - ctime                         tst-ctime-time64
    - ctime_r                       tst-ctime-time64
    - difftime                      tst-difftime-time64
    - fstat                         tst-stat-time64
    - fstatat                       tst-stat-time64
    - futimens                      tst-futimens-time64
    - futimes                       tst-futimes-time64
    - futimesat                     tst-futimesat-time64
    - fts_*                         tst-fts-time64
    - getitimer                     tst-itimer-timer64
    - getrusage
    - gettimeofday                  tst-clock_nanosleep-time64
    - glob / globfree               tst-gnuglob64-time64
    - gmtime                        tst-gmtime-time64
    - gmtime_r                      tst-gmtime-time64
    - lstat                         tst-stat-time64
    - localtime                     tst-y2039-time64
    - localtime_t                   tst-y2039-time64
    - lutimes                       tst-lutimes-time64
    - mktime                        tst-mktime4-time64
    - mq_timedreceive               tst-mqueue{1248}-time64
    - mq_timedsend                  tst-mqueue{1248}-time64
    - msgctl                        test-sysvmsg-time64
    - mtx_timedlock                 tst-mtx-timedlock-time64
    - nanosleep                     tst-cpuclock{12}-time64,
				    tst-mqueue8-time64, tst-clock-time64
    - nftw / ftw                    ftwtest-time64
    - ntp_adjtime                   tst-ntp_adjtime-time64
    - ntp_gettime                   tst-ntp_gettime-time64
    - ntp_gettimex                  tst-ntp_gettimex-time64
    - ppoll                         tst-ppoll-time64
    - pselect                       tst-pselect-time64
    - pthread_clockjoin_np          tst-join14-time64
    - pthread_cond_clockwait        tst-cond11-time64
    - pthread_cond_timedwait        tst-abstime-time64
    - pthread_mutex_clocklock       tst-abstime-time64
    - pthread_mutex_timedlock       tst-abstime-time64
    - pthread_rwlock_clockrdlock    tst-abstime-time64, tst-rwlock14-time64
    - pthread_rwlock_clockwrlock    tst-abstime-time64, tst-rwlock14-time64
    - pthread_rwlock_timedrdlock    tst-abstime-time64, tst-rwlock14-time64
    - pthread_rwlock_timedwrlock    tst-abstime-time64, tst-rwlock14-time64
    - pthread_timedjoin_np          tst-join14-time64
    - recvmmsg                      tst-cancel4_2-time64
    - sched_rr_get_interval         tst-sched_rr_get_interval-time64
    - select                        tst-select-time64
    - sem_clockwait                 tst-sem5-time64
    - sem_timedwait                 tst-sem5-time64
    - semctl                        test-sysvsem-time64
    - semtimedop                    test-sysvsem-time64
    - setitimer                     tst-mqueue2-time64, tst-itimer-timer64
    - settimeofday                  tst-settimeofday-time64
    - shmctl                        test-sysvshm-time64
    - sigtimedwait                  tst-sigtimedwait-time64
    - stat                          tst-stat-time64
    - thrd_sleep                    tst-thrd-sleep-time64
    - time                          tst-mqueue{1248}-time64
    - timegm                        tst-timegm-time64
    - timer_gettime                 tst-timer4-time64
    - timer_settime                 tst-timer4-time64
    - timerfd_gettime               tst-timerfd-time64
    - timerfd_settime               tst-timerfd-time64
    - timespec_get                  tst-timespec_get-time64
    - timespec_getres               tst-timespec_getres-time64
    - utime                         tst-utime-time64
    - utimensat                     tst-utimensat-time64
    - utimes                        tst-utimes-time64
    - wait3                         tst-wait3-time64
    - wait4                         tst-wait4-time64

  * librt:
    - aio_suspend                   tst-aio6-time64
    - mq_timedreceive               tst-mqueue{1248}-time64
    - mq_timedsend                  tst-mqueue{1248}-time64
    - timer_gettime                 tst-timer4-time64
    - timer_settime                 tst-timer4-time64

  * libanl:
    - gai_suspend

Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
2021-06-15 10:42:11 -03:00
..
bits Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
aio_cancel.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
aio_error.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
aio_fsync.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
aio_misc.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
aio_notify.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
aio_read64.c * elf/cache.c: Use <> rather than "" #includes. 2005-12-21 22:16:34 +00:00
aio_read.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
aio_return.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
aio_sigqueue.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
aio_suspend.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
aio_write64.c * elf/cache.c: Use <> rather than "" #includes. 2005-12-21 22:16:34 +00:00
aio_write.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
aio.h y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
Depend hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
lio_listio64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
lio_listio.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Makefile y2038: Add test coverage 2021-06-15 10:42:11 -03:00
mq_close.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_getattr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_notify.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_open.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_receive.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_send.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_setattr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_timedreceive.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_timedsend.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mq_unlink.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mqueue.h y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
shm_open.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
shm_unlink.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
timer_create.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
timer_delete.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
timer_getoverr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
timer_gettime.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
timer_settime.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio5.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio6-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-aio6.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio7.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio8.c (do_test): aio_offset should be initialized, too. 2006-01-05 00:26:42 +00:00
tst-aio9.c Don't reduce test timeout to less than default 2018-10-17 09:34:13 +02:00
tst-aio10.c Don't reduce test timeout to less than default 2018-10-17 09:34:13 +02:00
tst-aio64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-aio.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-cpuclock2-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-cpuclock2.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-cputimer1.c * rt/tst-cpuclock1.c: New file. 2005-04-27 08:03:47 +00:00
tst-cputimer2.c * rt/tst-cpuclock1.c: New file. 2005-04-27 08:03:47 +00:00
tst-cputimer3.c * rt/tst-cpuclock1.c: New file. 2005-04-27 08:03:47 +00:00
tst-mqueue1-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-mqueue1.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue2-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-mqueue2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue4-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-mqueue4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue5.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue6.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue7.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue8-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-mqueue8.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue9.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-shm-cancel.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-shm.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-timer2.c Don't set unused field in rt/tst-timer2. 2015-02-06 12:30:38 -08:00
tst-timer3.c Update. 2004-04-16 20:44:32 +00:00
tst-timer4-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-timer4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-timer5.c 2004-12-07 Roland McGrath <roland@redhat.com> 2004-12-07 20:44:46 +00:00
tst-timer-sigmask.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-timer.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Versions Finish move of clock_* functions to libc. [BZ #24959] 2019-09-04 14:39:38 +02:00