From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhxyV-000263-Kw for guix-patches@gnu.org; Wed, 16 Aug 2017 09:03:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dhxyQ-000831-Md for guix-patches@gnu.org; Wed, 16 Aug 2017 09:03:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59896) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dhxyQ-00082j-JF for guix-patches@gnu.org; Wed, 16 Aug 2017 09:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dhxyQ-0004gl-7f for guix-patches@gnu.org; Wed, 16 Aug 2017 09:03:02 -0400 Subject: [bug#28055] [WIP] Add knot tests Resent-Message-ID: Date: Wed, 16 Aug 2017 15:02:17 +0200 In-Reply-To: <87tw17khg0.fsf@elephly.net> References: <20170811210341.10ab9965@lepiller.eu> <87tw17khg0.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----DZQTD30M8W4STD5VUQGOCDONRQ67IB" Content-Transfer-Encoding: 7bit From: Julien Lepiller Message-ID: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" Cc: 28055@debbugs.gnu.org ------DZQTD30M8W4STD5VUQGOCDONRQ67IB Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hm=2E=2E=2E I followed the example of mail=2Escm and implemented the protoc= ol=2E I also thought a pure scheme implementation would be prefered=2E I di= dn't really think of anything else=2E I guess I could use the host utility to query the test server=2E Or if I c= an change the default dns server, I could use hostent:addr-list that I have= just found in the manual=2E That would be better I think=2E I'll try these methods=2E Le 16 ao=C3=BBt 2017 11:09:03 GMT+02:00, Ricardo Wurmus a =C3=A9crit : > >Hi Julien, > >> This patch aims at adding a system test for knot=2E I've implemented >the >> DNS protocol to be able to communicate with the server and try some >> queries=2E Unfortunately, although the server seems to be launched (the >> first test passes), it then refuses to answer=2E Do you see anything >> wrong, or anything I could do to understand why it doesn't pass? > >It looks like overkill to implement DNS queries with bytevectors from >the ground up=2E Is there not an easier way to make a DNS test? > >--=20 >Ricardo > >GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC >https://elephly=2Enet --=20 Envoy=C3=A9 de mon appareil Android avec Courriel K-9 Mail=2E Veuillez exc= user ma bri=C3=A8vet=C3=A9=2E ------DZQTD30M8W4STD5VUQGOCDONRQ67IB Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hm=2E=2E=2E I followed the example of mail=2Escm a= nd implemented the protocol=2E I also thought a pure scheme implementation = would be prefered=2E I didn't really think of anything else=2E

I guess I could use the host utility to query the test server=2E Or if I c= an change the default dns server, I could use hostent:addr-list that I have= just found in the manual=2E That would be better I think=2E

I'll try these methods=2E

Le 16 ao= =C3=BBt 2017 11:09:03 GMT+02:00, Ricardo Wurmus <rekado@elephly=2Enet>= ; a =C3=A9crit :

Hi Julien,

This patch aims at adding a system test for knot= =2E I've implemented the
DNS protocol to be able to communicate with = the server and try some
queries=2E Unfortunately, although the server= seems to be launched (the
first test passes), it then refuses to ans= wer=2E Do you see anything
wrong, or anything I could do to understan= d why it doesn't pass?

It looks like overkill to im= plement DNS queries with bytevectors from
the ground up=2E Is there n= ot an easier way to make a DNS test?

--
Envoy=C3=A9 de mon appareil Android avec Courriel K-9 Mail=2E Veuillez exc= user ma bri=C3=A8vet=C3=A9=2E ------DZQTD30M8W4STD5VUQGOCDONRQ67IB--