//! Helpers shared by the integration tests: re-running this test binary as a
//! child process, so a test can look at a fresh process or at two processes
//! at once. The library never starts a program; tests may (PLAN.md 19.1).
use ;
/// A command that runs only the test `name` of this binary, with its output
/// shown, in a child process. The child sees `role` set, so the test knows
/// it is the child.
/// The role this process was started with, when it is a child.
/// The text after `marker` on the first line holding it, in a child's output.
/// libtest writes `test <name> ... ` before the test's own output, so the
/// marker may share a line with it.