public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix close_range/closefrom tests
@ 2021-08-24 19:28 Adhemerval Zanella
  2021-08-24 19:28 ` [PATCH 1/2] support: Add support_open_dev_null_range Adhemerval Zanella
  2021-08-24 19:28 ` [PATCH 2/2] Use support_open_dev_null_range io/tst-closefrom, misc/tst-close_range, and posix/tst-spawn5 (BZ #28260) Adhemerval Zanella
  0 siblings, 2 replies; 15+ messages in thread
From: Adhemerval Zanella @ 2021-08-24 19:28 UTC (permalink / raw)
  To: libc-alpha

This patchset fixes io/tst-closefrom, misc/tst-close_range,
posix/tst-spawn5 tests on some environment where the tests hit the
file descriptors limit or if there is already file descriptor
opened within the range created by the tests.

Adhemerval Zanella (2):
  support: Add support_open_dev_null_range
  Use support_open_dev_null_range io/tst-closefrom,
    misc/tst-close_range, and posix/tst-spawn5 (BZ #28260)

 io/tst-closefrom.c                        |  15 +--
 posix/tst-spawn5.c                        |  13 +-
 support/Makefile                          |   2 +
 support/support-open-dev-null-range.c     | 134 +++++++++++++++++++++
 support/support.h                         |   8 ++
 support/tst-support-open-dev-null-range.c | 137 ++++++++++++++++++++++
 sysdeps/unix/sysv/linux/tst-close_range.c |  25 ++--
 7 files changed, 292 insertions(+), 42 deletions(-)
 create mode 100644 support/support-open-dev-null-range.c
 create mode 100644 support/tst-support-open-dev-null-range.c

-- 
2.30.2


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-09-21 10:30 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-24 19:28 [PATCH 0/2] Fix close_range/closefrom tests Adhemerval Zanella
2021-08-24 19:28 ` [PATCH 1/2] support: Add support_open_dev_null_range Adhemerval Zanella
2021-08-24 19:28 ` [PATCH 2/2] Use support_open_dev_null_range io/tst-closefrom, misc/tst-close_range, and posix/tst-spawn5 (BZ #28260) Adhemerval Zanella
2021-08-25  3:15   ` Michael Hudson-Doyle
2021-08-25  3:41     ` Michael Hudson-Doyle
2021-08-25  8:40       ` Michael Hudson-Doyle
2021-08-25 11:46         ` Adhemerval Zanella
2021-09-14  0:46           ` Michael Hudson-Doyle
2021-09-16 12:09             ` Florian Weimer
2021-09-16 23:44               ` Michael Hudson-Doyle
2021-09-17 10:12                 ` Florian Weimer
2021-09-19 21:57                   ` Michael Hudson-Doyle
2021-09-20 10:54                     ` Florian Weimer
2021-09-20 23:20                       ` Michael Hudson-Doyle
2021-09-21 10:30                         ` Michael Hudson-Doyle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).