From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rutger Helling Subject: bug#29363: Single test failure building Guix Date: Tue, 21 Nov 2017 15:50:24 +0100 Message-ID: <18611c9bc29c707f3efbc602735857d0@mykolab.com> References: <89edb4cc307bfae5db7812abe3b4a37a@mykolab.com> <87a7zgtquv.fsf@fastmail.com> <871sksoyxj.fsf@gnu.org> <4464438fc18e9ae461ab8d8a9959b04c@mykolab.com> <87tvxnn67k.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_3bed6b7779fd0114cadaebf8c18a3586" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eH9tD-0003sE-84 for bug-guix@gnu.org; Tue, 21 Nov 2017 09:51:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eH9t8-0003mQ-Tw for bug-guix@gnu.org; Tue, 21 Nov 2017 09:51:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:41435) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eH9t8-0003lm-Pr for bug-guix@gnu.org; Tue, 21 Nov 2017 09:51:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eH9t7-00081M-T7 for bug-guix@gnu.org; Tue, 21 Nov 2017 09:51:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87tvxnn67k.fsf@gnu.org> 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: ludo@gnu.org Cc: 29363@debbugs.gnu.org --=_3bed6b7779fd0114cadaebf8c18a3586 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII I think commenting out (> freed 0) does work after all. When I ran 'guix environment --pure guix' and 'make check TESTS=tests/store.scm' against my git checkout the test passed. On 2017-11-21 13:53, ludo@gnu.org wrote: > Rutger Helling skribis: > >> Commenting out that line still made the test fail for me. > > Could you figure out which of the conditions in the 'and' is failing? > >> + (and (equal? paths (list p)) >> + (> freed 0) >> + (not (file-exists? p)))))) > > TIA, > Ludo'. --=_3bed6b7779fd0114cadaebf8c18a3586 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

I think commenting out (> freed 0) does work after all. When I ran 'g= uix environment --pure guix' and 'make check TESTS=3Dtests/store.scm' again= st my git checkout the test passed.

On 2017-11-21 13:53, ludo@gnu.org wrote:

= Rutger Helling <rhelling@mykolab= =2Ecom> skribis:

Commenting out that line still made the test fail for = me.

Could you figure out which of the conditions in the 'and' is failing= ?

+       (and (equal? pat= hs (list p))
+          =   (> freed 0)
+       &nbs= p;    (not (file-exists? p))))))

TIA,
Ludo'.
--=_3bed6b7779fd0114cadaebf8c18a3586--