]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
posix: Make tst-getaddrinfo[45] xtests due to DNS dependency [BZ #20826]
authorFlorian Weimer <fweimer@redhat.com>
Tue, 28 Nov 2017 11:20:01 +0000 (12:20 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 28 Nov 2017 11:20:01 +0000 (12:20 +0100)
These tests need a working Internet connection with DNS.

We have additional coverage of getaddrinfo through the resolv tests, so
the loss of default test coverage seems acceptable.

ChangeLog
posix/Makefile

index 197c5d86c716a159520bb7552d4d33f913017ed9..20423596a5939af2220b0c7fb41ef71f54665979 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2017-11-28  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #20826]
+       Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
+       due to Internet requirement.
+       * posix/Makefile (tests): Remove tst-getaddrinfo4,
+       tst-getaddrinfo5.
+       (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
+
 2017-11-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
        * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
index 532f2c73c5f1c5bc44714e88dc9f2140ed70f1b1..87e7ed7f9d8fc530f175d7c150e879b12f7f3429 100644 (file)
@@ -90,8 +90,8 @@ tests         := test-errno tstgetopt testfnm runtests runptests \
                   tst-getaddrinfo3 tst-fnmatch2 tst-cpucount tst-cpuset \
                   bug-getopt1 bug-getopt2 bug-getopt3 bug-getopt4 \
                   bug-getopt5 tst-getopt_long1 bug-regex34 bug-regex35 \
-                  tst-pathconf tst-getaddrinfo4 tst-rxspencer-no-utf8 \
-                  tst-fnmatch3 bug-regex36 tst-getaddrinfo5 \
+                  tst-pathconf tst-rxspencer-no-utf8 \
+                  tst-fnmatch3 bug-regex36 \
                   tst-posix_spawn-fd tst-posix_spawn-setsid \
                   tst-posix_fadvise tst-posix_fadvise64 \
                   tst-sysconf-empty-chroot tst-glob_symlinks tst-fexecve \
@@ -99,7 +99,7 @@ tests         := test-errno tstgetopt testfnm runtests runptests \
 tests-internal := bug-regex5 bug-regex20 bug-regex33 \
                   tst-rfc3484 tst-rfc3484-2 tst-rfc3484-3 \
                   tst-glob_lstat_compat
-xtests         := bug-ga2
+xtests         := bug-ga2 tst-getaddrinfo4 tst-getaddrinfo5
 ifeq (yes,$(build-shared))
 test-srcs      := globtest
 tests           += wordexp-test tst-exec tst-spawn tst-spawn2 tst-spawn3