Subject: Re: bug#25018: GC incorrectly removes the temporary root file of the calling process

From: Ludovic Courtès <[email-masked]>
Date: Mon, 10 Oct 2022 16:53:32 +0200

Maxime Devos <[email-masked]> skribis:

> On 10-10-2022 10:01, Ludovic Courtès wrote:
>> Hi Maxim,
>> [...]
>>> and pushed!
>> Thank you!  (Your bug triage work is much appreciated!)  We could
>> turn
>> the example here in a unit test; the only downside is that running the
>> GC in a test is expensive.
>
> It should be possible to run the GC on the test store instead of
> /gnu/store, no?

Yes, that’s what I meant and several tests already do this, but it’s
quite expensive.

> If that's still too expensive, how about creating an additional
> temporary test store only for the GC test?

Bah, that sounds complicated to me.

Ludo’.