Subject: bug#64760: [PATCH 2/3] tests: store-roots: Initial gc-roots should be empty.

From: Janneke Nieuwenhuizen <[email-masked]>
Date: Fri, 28 Jul 2023 13:58:38 +0200

Janneke Nieuwenhuizen writes:

Hello,

> Josselin Poiret writes:
>
> Hi!
>
>> * tests/store-roots.scm ("gc-roots, initial"): Set expected result to empty.
>> Also do not error out if /profiles doesn't exist.
[..]
> Just a headsup that this change breaks the store-roots test on the hurd
> for me.

aaand as discussed on IRC, the missing output

--8<---------------cut here---------------start------------->8---
FAIL: tests/store-roots
=======================

test-name: gc-roots, initial
location: /tmp/guix-build-guix-1.4.0-8.5623ab5.drv-0/source/tests/store-roots.scm:33
source:
+ (test-equal
+   "gc-roots, initial"
+   '()
+   (begin
+     (false-if-exception
+       (delete-file-recursively
+         (string-append %state-directory "/profiles")))
+     (gc-roots)))
expected-value: ()
actual-value: ("/tmp/guix-tests/var/19337/profiles")
result: FAIL
--8<---------------cut here---------------end--------------->8---

-- 
Janneke Nieuwenhuizen <[email-masked]>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com