[00/15] Add some tests and infra changes

Message ID 20210323134458.2563022-1-adhemerval.zanella@linaro.org
Headers show
Series
  • Add some tests and infra changes
Related show

Message

Adhemerval Zanella via Libc-alpha March 23, 2021, 1:44 p.m.
This is a resend of the first part of the 'Add 64 bit time support on
legacy ABIs' patchset [1] rebase against master along with fixes from
comments and some changes for the timestamp tests.  It is also
independent of the 64 bit time support.

The patchset is also based on the recent stat fixes [2], so the
timestamp tests tests can be made generic while still handling the
Linux specific limitations.

[1] https://patchwork.sourceware.org/project/glibc/list/?series=1783
[2] https://patchwork.sourceware.org/project/glibc/list/?series=1878

Adhemerval Zanella (15):
  io: Move file timestamps tests out of Linux
  linux: Add futimes test
  linux: Add lutimes test
  io: Add basic tests for utimensat
  io: Use temporary directory and file for ftwtest-sh
  time: Add getitimer and setitimer basic tests
  time: Add gmtime/gmtime_r tests
  time: Add timegm/timelocal basic tests
  time: Add basic timespec_get tests
  time: Add 64 bit tests for getdate / getdate_r
  posix: Add wait3 tests
  linux: mips: Split libpthread.abilist in n32 and n64
  linux: mips: Split librt.abilist in n32 and n64
  linux: mips: Split libanl.abilist in n32 and n64
  linux: s390: Add libanl.abilist in s390 and s390x

 io/Makefile                                   |   8 +-
 io/ftwtest-sh                                 | 242 +++++++++---------
 .../unix/sysv/linux => io}/tst-futimens.c     |   2 +-
 io/tst-futimes.c                              |  46 ++++
 io/tst-lutimes.c                              |  53 ++++
 {sysdeps/unix/sysv/linux => io}/tst-utime.c   |   2 +-
 .../linux => io}/tst-utimensat-skeleton.c     |   7 +-
 io/tst-utimensat.c                            |  70 +++++
 {sysdeps/unix/sysv/linux => io}/tst-utimes.c  |   2 +-
 posix/Makefile                                |   2 +-
 posix/tst-wait-skeleton.c                     | 209 +++++++++++++++
 posix/tst-wait3.c                             |  22 ++
 posix/tst-wait4.c                             | 193 +-------------
 sysdeps/unix/sysv/linux/Makefile              |   2 +-
 .../mips/mips64/{ => n32}/libanl.abilist      |   0
 .../mips/mips64/{ => n32}/libpthread.abilist  |   0
 .../linux/mips/mips64/{ => n32}/librt.abilist |   0
 .../{s390 => mips/mips64/n64}/libanl.abilist  |   0
 .../linux/mips/mips64/n64/libpthread.abilist  | 214 ++++++++++++++++
 .../sysv/linux/mips/mips64/n64/librt.abilist  |  37 +++
 .../sysv/linux/s390/s390-32/libanl.abilist    |   4 +
 .../sysv/linux/s390/s390-64/libanl.abilist    |   4 +
 time/Makefile                                 |   3 +-
 time/tst-getdate.c                            | 153 ++++++-----
 time/tst-gmtime.c                             | 125 +++++++++
 time/tst-itimer.c                             | 175 +++++++++++++
 time/tst-timegm.c                             |  95 +++++++
 time/tst-timespec_get.c                       |  40 +++
 28 files changed, 1328 insertions(+), 382 deletions(-)
 rename {sysdeps/unix/sysv/linux => io}/tst-futimens.c (96%)
 create mode 100644 io/tst-futimes.c
 create mode 100644 io/tst-lutimes.c
 rename {sysdeps/unix/sysv/linux => io}/tst-utime.c (96%)
 rename {sysdeps/unix/sysv/linux => io}/tst-utimensat-skeleton.c (92%)
 create mode 100644 io/tst-utimensat.c
 rename {sysdeps/unix/sysv/linux => io}/tst-utimes.c (96%)
 create mode 100644 posix/tst-wait-skeleton.c
 create mode 100644 posix/tst-wait3.c
 rename sysdeps/unix/sysv/linux/mips/mips64/{ => n32}/libanl.abilist (100%)
 rename sysdeps/unix/sysv/linux/mips/mips64/{ => n32}/libpthread.abilist (100%)
 rename sysdeps/unix/sysv/linux/mips/mips64/{ => n32}/librt.abilist (100%)
 rename sysdeps/unix/sysv/linux/{s390 => mips/mips64/n64}/libanl.abilist (100%)
 create mode 100644 sysdeps/unix/sysv/linux/mips/mips64/n64/libpthread.abilist
 create mode 100644 sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist
 create mode 100644 sysdeps/unix/sysv/linux/s390/s390-32/libanl.abilist
 create mode 100644 sysdeps/unix/sysv/linux/s390/s390-64/libanl.abilist
 create mode 100644 time/tst-gmtime.c
 create mode 100644 time/tst-itimer.c
 create mode 100644 time/tst-timegm.c
 create mode 100644 time/tst-timespec_get.c

-- 
2.27.0