[PATCH 0/6] Move some xtests to make check

Adhemerval Zanella <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <[email protected]>
The nss tests are adapated to use resolv_test, the sunrpc tests are just
removed, the resolv test is changed to use a more representative set, and
the test-iconvconfig is rewritten as a container test.

The remaining 'xtests' cannot move out without either losing the test's 
purpose or destabilizing the test host:

Test(s)				Subdir		Why it's an xtest
tst-setuid*, tst-setgroups	nptl		Need real root
tst-process_madvise		linux		Needs CAP_SYS_NICE on a second process
tst-mutexpp1/5/6/9/10		nptl		Need SCHED_FIFO
tst-sched_rr_get_interval 	posix		Needs SCHED_RR
tst-eintr1			nptl		Kernel bug (BZ 24537), can exhaust task limits and kill make
tst-strcoll-overflow		string		Allocates ~1 GiB + long runtime
test-*-nonarray			string/wcsmbs	Exhaustive combinatorial, long runtime by design
tst-mkstemp-fuse*		misc		Long run times (FUSE round-trips)
tst-resolv-rotate		resolv		Real DNS retransmission timeouts on dropped-packet cases

The closest future candidates are tst-sched_rr_get_interval (small and
brief, but still RT-gated) and tst-resolv-rotate (already on the fake
resolver, but bounded by the resolver's minimum retransmission timeout).

Adhemerval Zanella (6):
  nss: Use test resolver for tst-getaddrinfo4
  nss: Use test resolver for tst-getaddrinfo5
  nss: Use test resolver for bug-erange
  sunrpc: Remove obsolete tst-getmyaddr and thrsvc xtests
  resolv: Make tst-resolv-qtypes a regular test
  iconv: Replace test-iconvconfig xtest with a container test

 iconv/Makefile                                |  13 +-
 iconv/tst-iconvconfig-cache.c                 | 192 ++++++++++++++++++
 .../tst-iconvconfig-cache.root/postclean.req  |   0
 iconv/tst-iconvconfig-cache.root/preclean.req |   0
 nss/Makefile                                  |  16 +-
 nss/bug-erange.c                              |  90 ++++----
 nss/tst-getaddrinfo4.c                        |  73 ++++---
 nss/tst-getaddrinfo5.c                        |  83 ++++----
 resolv/Makefile                               |   4 +-
 resolv/tst-resolv-qtypes.c                    |  17 +-
 sunrpc/Makefile                               |   6 -
 sunrpc/thrsvc.c                               | 109 ----------
 sunrpc/tst-getmyaddr.c                        |  24 ---
 13 files changed, 361 insertions(+), 266 deletions(-)
 create mode 100644 iconv/tst-iconvconfig-cache.c
 create mode 100644 iconv/tst-iconvconfig-cache.root/postclean.req
 create mode 100644 iconv/tst-iconvconfig-cache.root/preclean.req
 delete mode 100644 sunrpc/thrsvc.c
 delete mode 100644 sunrpc/tst-getmyaddr.c

-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.