summaryrefslogtreecommitdiff
path: root/time/tst-ctime-y2038.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-02-17 15:59:34 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-02-18 20:42:42 -0300
commit19da88bb9209c7495f272a8d41d0ab9e804b1f76 (patch)
treecad7c2c1f8438da10110e7a097aec03aeaa81742 /time/tst-ctime-y2038.c
parent904cb172e7e49e4d36e9e22897ea3a081055fa72 (diff)
downloadglibc-azanella/y2038-work.tar.gz
y2038: Add test coverageazanella/y2038-work
A new 'tests-y2038' rule is added, which adds the required 64 bit time flags and included in the 'tests' rule. The current coverage is: * libc: - adjtime - adjtimex - clock_adjtime - clock_getres tst-clock, tst-cpuclock1 - clock_gettime tst-clock, tst-clock2, tst-cpuclock1 - clock_nanosleep tst-clock_nanosleep, tst-cpuclock1 - clock_settime tst-clock2 - ctime tst-ctime - ctime_r - difftime tst-difftime - fstat - fstatat - futimens - futimes - futimesat - getitimer - getrusage - gettimeofday tst-clock_nanosleep - gmtime - gmtime_r - lstat - lutimes - mktime - mq_timedreceive tst-mqueue{1248} - mq_timedsend tst-mqueue{1248} - nanosleep tst-cpuclock2, tst-mqueue8, tst-clock, tst-cpuclock1 - ntp_adjtime - ntp_gettime - ntp_gettimex - ppoll64 - pselect - recvmmsg tst-cancel4_2 - sched_rr_get_interval - select - semtimedop - setitimer - settimeofday - sigtimedwait - stat - time tst-mqueue1, tst-mqueue2, tst-mqueue4, tst-mqueue8 - timegm - timer_gettime tst-timer4 - timer_settime - timerfd_gettime - timerfd_settime - timespec_get - utime - utimensat - utimes - wait3 - wait4_time64 * libpthread: - cnd_timedwait - mtx_timedlock - pthread_clockjoin_np - pthread_cond_clockwait - pthread_cond_timedwait - pthread_mutex_clocklock - pthread_mutex_timedlock - pthread_rwlock_clockrdlock - pthread_rwlock_clockwrlock - pthread_rwlock_timedrdlock - pthread_rwlock_timedwrlock - pthread_timedjoin_np - sem_clockwait - sem_timedwait - thrd_sleep * librt: - aio_suspend - mq_timedreceive tst-mqueue{1248} - mq_timedsend tst-mqueue{1248} - timer_gettime tst-timer4 - timer_settime tst-timer4 * libanl: - gai_suspend_time
Diffstat (limited to 'time/tst-ctime-y2038.c')
-rw-r--r--time/tst-ctime-y2038.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/time/tst-ctime-y2038.c b/time/tst-ctime-y2038.c
new file mode 100644
index 0000000000..24a5ae98ed
--- /dev/null
+++ b/time/tst-ctime-y2038.c
@@ -0,0 +1 @@
+#include "tst-ctime.c"