mbox series

[0/5] Various support subdirectory cleanups

Message ID cover.1723811552.git.fweimer@redhat.com
Headers show
Series Various support subdirectory cleanups | expand

Message

Florian Weimer Aug. 16, 2024, 12:34 p.m. UTC
This series makes it easier to build support/ outside of glibc, for
quick test development.

It simplifies some io tests by switching to bit-invariant statx for the
time references.

Built with build-many-glibcs.py.

Thanks,
Florian

Florian Weimer (5):
  support: Remove #include <config.h>
  support: Include <string.h> for strcmp in support_format_addrinfo.c
  support: Add the xstatx function
  io: Use struct statx and xstatx in tests
  support: Use macros for *stat wrappers

 elf/tst-ldconfig-bad-aux-cache.c              |  2 +-
 io/tst-copy_file_range.c                      |  2 +-
 io/tst-futimens-time64.c                      |  1 -
 io/tst-futimens.c                             | 13 +++----
 io/tst-futimes-time64.c                       |  1 -
 io/tst-futimes.c                              | 13 +++----
 io/tst-futimesat-time64.c                     |  3 --
 io/tst-futimesat.c                            | 30 +++++-----------
 io/tst-lutimes-time64.c                       |  1 -
 io/tst-lutimes.c                              | 26 +++++++-------
 io/tst-statx.c                                |  4 +--
 io/tst-utime-time64.c                         |  1 -
 io/tst-utime.c                                | 13 +++----
 io/tst-utimensat-time64.c                     |  1 -
 io/tst-utimensat.c                            | 35 +++++++++----------
 io/tst-utimes-time64.c                        |  1 -
 io/tst-utimes.c                               | 13 +++----
 locale/tst-localedef-path-norm.c              |  2 +-
 localedata/tst-localedef-hardlinks.c          |  2 +-
 posix/tst-execveat.c                          |  2 +-
 stdio-common/tst-renameat2.c                  |  2 +-
 stdlib/tst-system.c                           |  2 +-
 support/Makefile                              |  9 ++---
 support/support-xstat-time64.c                | 32 -----------------
 support/support-xstat.c                       | 30 ----------------
 support/{xlstat.c => support_check_stat_fd.c} | 11 +++---
 ...ort-xfstat.c => support_check_stat_path.c} |  9 +++--
 support/support_format_addrinfo.c             |  1 +
 support/timespec-add.c                        |  1 -
 support/timespec-sub.c                        |  1 -
 support/xlstat-time64.c                       | 32 -----------------
 support/{support-xfstat-time64.c => xstatx.c} | 18 +++++-----
 support/xunistd.h                             | 32 ++++++++---------
 33 files changed, 104 insertions(+), 242 deletions(-)
 delete mode 100644 support/support-xstat-time64.c
 delete mode 100644 support/support-xstat.c
 rename support/{xlstat.c => support_check_stat_fd.c} (76%)
 rename support/{support-xfstat.c => support_check_stat_path.c} (81%)
 delete mode 100644 support/xlstat-time64.c
 rename support/{support-xfstat-time64.c => xstatx.c} (69%)


base-commit: b22923abb046311ac9097a36b97b9b97342bac44