From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#27039: (tests guix-download) fails when DNS is bogus Date: Tue, 23 May 2017 16:47:02 +0000 Message-ID: References: <20170523162431.GB15379@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDCyY-0000Zz-Uy for bug-guix@gnu.org; Tue, 23 May 2017 12:48:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDCyY-0000go-3h for bug-guix@gnu.org; Tue, 23 May 2017 12:48:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60532) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDCyY-0000gb-0I for bug-guix@gnu.org; Tue, 23 May 2017 12:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dDCyX-0006XC-Lk for bug-guix@gnu.org; Tue, 23 May 2017 12:48:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDCxc-0000UN-E6 for bug-guix@gnu.org; Tue, 23 May 2017 12:47:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDCxb-00007E-Kh for bug-guix@gnu.org; Tue, 23 May 2017 12:47:04 -0400 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]:34384) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDCxb-00006x-Ev for bug-guix@gnu.org; Tue, 23 May 2017 12:47:03 -0400 Received: by mail-pf0-x244.google.com with SMTP id w69so28782175pfk.1 for ; Tue, 23 May 2017 09:47:03 -0700 (PDT) In-Reply-To: <20170523162431.GB15379@jasmine> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 27039@debbugs.gnu.org, leo@famulari.name On May 23, 2017 9:24:31 AM PDT, Leo Famulari wrote: >The guix-download test includes this snippet: > >------ ># Make sure it fails here=2E >if guix download http://does=2Enot/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=2E > >Does anyone know if there is some domain that is designed to fail as a >"standard", as is intended to be used for examples >of good domains? Could we simply mock the expected response? Maxim