diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-04-21 15:38:06 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-04-21 16:16:38 +0200 |
commit | a09c7da8f8d8e732f969cf0a09aaa78f87032ab1 (patch) | |
tree | e4b41bde7ae01c29722f0265a3b44ef6a8933898 /build-aux | |
parent | fb32e226ce3d3cd9bf12989850b2dd719266d583 (diff) | |
download | guix-a09c7da8f8d8e732f969cf0a09aaa78f87032ab1.tar.gz guix-a09c7da8f8d8e732f969cf0a09aaa78f87032ab1.zip |
tests: Fork and exec a new Guile for the marionette REPL.
By merely forking PID 1, details from PID 1 (shepherd) would leak into
the marionette process, such as the set of modules in scope and state
inherited from the shepherd process (<service> instances, fibers,
etc.). Running a fresh Guile instance avoids that.
* gnu/tests.scm (marionette-program): New procedure.
(marionette-shepherd-service): Change 'start' to use
'make-forkexec-constructor', and run the result of 'marionette-program'.
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions