aboutsummaryrefslogtreecommitdiff
path: root/nix/libutil
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-04-21 15:38:06 +0200
committerLudovic Courtès <ludo@gnu.org>2023-04-21 16:16:38 +0200
commita09c7da8f8d8e732f969cf0a09aaa78f87032ab1 (patch)
treee4b41bde7ae01c29722f0265a3b44ef6a8933898 /nix/libutil
parentfb32e226ce3d3cd9bf12989850b2dd719266d583 (diff)
downloadguix-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 'nix/libutil')
0 files changed, 0 insertions, 0 deletions