all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 27039@debbugs.gnu.org, leo@famulari.name
Subject: bug#27039: (tests guix-download) fails when DNS is bogus
Date: Tue, 23 May 2017 16:47:02 +0000	[thread overview]
Message-ID: <BC77E34E-40B0-402A-9C85-4223FAB5A8CB@gmail.com> (raw)
In-Reply-To: <20170523162431.GB15379@jasmine>

On May 23, 2017 9:24:31 AM PDT, Leo Famulari <leo@famulari.name> wrote:
>The guix-download test includes this snippet:
>
>------
># Make sure it fails here.
>if guix download http://does.not/exist
>then false; else true; fi
>------
>
>Unfortunately, many ISPs (such as T-Mobile) return bogus results for
>otherwise unclaimed domain names, causing this test to fail.
>
>Does anyone know if there is some domain that is designed to fail as a
>"standard", as <http://example.com> is intended to be used for examples
>of good domains?

Could we simply mock the expected response?

Maxim

  reply	other threads:[~2017-05-23 16:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-23 16:24 bug#27039: (tests guix-download) fails when DNS is bogus Leo Famulari
2017-05-23 16:47 ` Maxim Cournoyer [this message]
2017-05-23 17:07 ` ng0
2017-05-23 21:03 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BC77E34E-40B0-402A-9C85-4223FAB5A8CB@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=27039@debbugs.gnu.org \
    --cc=leo@famulari.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.