Expand description
This crate contains utility functions for use in tests that interact with
the shell environment (yash_env::Env).
This crate has been deprecated in favor of the test-helper feature of
the yash-env crate.
Modules§
Structs§
- Local
Executor - Adapter for
LocalSpawnertoExecutor - Wake
Flag - Simple flag that indicates whether a [
Waker] has been woken up or not
Functions§
- assert_
stderr - Helper function for asserting on the content of /dev/stderr
- assert_
stdout - Helper function for asserting on the content of /dev/stdout
- in_
virtual_ system - Runs an asynchronous function in a virtual system with an executor.
- stub_
tty - Creates a dummy file at /dev/tty.