glibc/time
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/types y2038: Add __USE_TIME_BITS64 support for struct timespec 2021-06-15 10:42:11 -03:00
sys y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
adjtime.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
alt_digit.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
asctime.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-asctime_r.c [BZ #1468] 2005-10-14 17:20:58 +00:00
bug-asctime.c [BZ #1460] 2005-10-14 15:17:40 +00:00
bug-getdate1.c support: Introduce new subdirectory for test infrastructure 2016-12-09 08:18:27 +01:00
bug-mktime1.c [BZ #2821] 2006-09-09 16:56:29 +00:00
bug-mktime4.c mktime: new test for mktime failure 2018-11-15 22:59:33 +01:00
clock_getcpuclockid.c Support for multiple versions in versioned_symbol, compat_symbol 2021-03-25 12:33:02 +01:00
clock_getres.c Add C2X timespec_getres 2021-05-17 20:55:21 +00:00
clock_gettime.c Support for multiple versions in versioned_symbol, compat_symbol 2021-03-25 12:33:02 +01:00
clock_nanosleep.c Support for multiple versions in versioned_symbol, compat_symbol 2021-03-25 12:33:02 +01:00
clock_settime.c Support for multiple versions in versioned_symbol, compat_symbol 2021-03-25 12:33:02 +01:00
clock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
clocktest.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
ctime_r.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ctime.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
datemsk * time/Makefile (tst-getdate-ENV): Add TZDIR to environment. 2001-07-18 09:43:36 +00:00
Depend * time/Makefile (tst-getdate-ENV): Add TZDIR to environment. 2001-07-18 09:43:36 +00:00
difftime.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
dysize.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
era.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ftime.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getdate.c time: Add 64-bit time support for getdate 2021-06-15 10:42:11 -03:00
getitimer.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
gettimeofday.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
gmtime.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
lc-time-cleanup.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
localtime.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
mktime-internal.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mktime.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
offtime.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setitimer.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
settimeofday.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
settimezone.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
stime.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
strftime_l.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
strftime.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
strptime_l.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
strptime.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test_time.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
time.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
time.h y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
timegm.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
timespec_get.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
timespec_getres.c Add C2X timespec_getres 2021-05-17 20:55:21 +00:00
tst_wcsftime.c Don't use the argument to time. 2019-08-21 08:26:36 -04:00
tst-adjtime-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-adjtime.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-clock2-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-clock2.c Finish move of clock_* functions to libc. [BZ #24959] 2019-09-04 14:39:38 +02:00
tst-clock_nanosleep-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-clock_nanosleep.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-clock_settime-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-clock_settime.c tst: Add test for clock_settime 2021-03-08 22:41:34 +01:00
tst-clock-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-clock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-cpuclock1-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-cpuclock1.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-ctime-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-ctime.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-difftime-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-difftime.c tst: Provide test for difftime 2021-02-16 20:37:27 +01:00
tst-ftime_l.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-ftime.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-getdate.c time: Add 64-bit time support for getdate 2021-06-15 10:42:11 -03:00
tst-gmtime-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-gmtime.c time: Add gmtime/gmtime_r tests 2021-04-15 11:32:38 -03:00
tst-itimer-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-itimer.c time: Add getitimer and setitimer basic tests 2021-04-15 11:27:35 -03:00
tst-mktime2.c time/tst-mktime2: Improve test error reporting 2018-10-23 11:25:05 +02:00
tst-mktime3.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-mktime4-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-mktime4.c tst: time: Provide Y2038 tests for mktime (tst-mktime4.c) 2021-02-16 20:41:45 +01:00
tst-mktime.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-posixtz.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-settimeofday-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-settimeofday.c tst: Add test for settimeofday 2021-03-08 22:41:41 +01:00
tst-strftime2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-strftime3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-strftime.c Fix BZ #18985 -- out of range data to strftime() causes a segfault 2015-09-26 13:27:48 -07:00
tst-strptime2.c Split DIAG_* macros to new header libc-diag.h. 2017-02-25 09:59:46 -05:00
tst-strptime3.c time: ensure failing strptime() tests are reported correctly 2015-03-06 06:06:26 -05:00
tst-strptime-whitespace.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-strptime.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-timegm-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-timegm.c time: Add timegm/timelocal basic tests 2021-04-15 11:32:39 -03:00
tst-timespec_get-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-timespec_get.c time: Add basic timespec_get tests 2021-04-15 11:32:40 -03:00
tst-timespec_getres-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-timespec_getres.c Add C2X timespec_getres 2021-05-17 20:55:21 +00:00
tst-tzname.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-y2039-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-y2039.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tzfile.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tzset.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Versions Add C2X timespec_getres 2021-05-17 20:55:21 +00:00
wcsftime_l.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wcsftime.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00