SandboxCanary
Checks that a doctest runs inside the tmux sandbox.
Source and package
- Qualified name
-
libtmux::Sandbox Canary - Module
- src
- Package
- libtmux
- Source
- crates/libtmux/src/lib.rs
-
Description#
Each doctest is its own process, so the sandbox reaches it only through the environment.
scripts/check-doctest-sandbox.shruns this and breaks the sandbox to show it fails. Only the checkout has the included file.