Subject: lookup-family-specification test fails

From: Glenn Morris <[email-masked]>
Date: Fri, 23 Aug 2019 15:29:18 -0400

Package: emacs
Severity: minor
Version: 27.0.50

The test lookup-family-specification fails on hydra.nixos.org:

    google.com/0 Name or service not known
    Test lookup-family-specification condition:
        (ert-test-failed
         ((should
           (network-lookup-address-info "google.com" 'ipv4))
          :form
          (network-lookup-address-info "google.com" ipv4)
          :value nil))
       FAILED   1/18  lookup-family-specification (0.002023 sec)

Perhaps the system doesn't having working DNS, in which case you
probably just want to add

(skip-unless (not (getenv "EMACS_HYDRA_CI")))

I suppose this could be true of other systems too, but don't know how
you check that.

Note that test lookup-google passes, but based on the above it should not.
(should (length X)) seems like a buggy test condition (it passes when X
is nil).