GNU bug report logs - #27039
(tests guix-download) fails when DNS is bogus

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Tue, 23 May 2017 16:40:01 UTC

Severity: normal

Tags: wontfix

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 27039 <at> debbugs.gnu.org, leo <at> famulari.name
Subject: bug#27039: (tests guix-download) fails when DNS is bogus
Date: Tue, 23 May 2017 16:47:02 +0000
On May 23, 2017 9:24:31 AM PDT, Leo Famulari <leo <at> 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





This bug report was last modified 7 years and 349 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.