Expand description
Provides utility functions used by multiple fixture files.
Enums§
Constants§
Traits§
- Extension trait for utilities on std::process::Child
- Extension trait for utilities on std::process::Command
Functions§
- Returns the path to the crosvm binary to be tested.
- Prepare a temporary ext4 disk file.
- Calls the
closure
until it returns a non-error Result. If it has been re-triedretries
times, the last result is returned. - Run the provided closure in a separate thread and return it’s result. If the closure does not finish, continue_fn is called periodically with interval while continue_fn return true. Once continue_fn return false, an Error is returned instead.
- Run the provided closure in a separate thread and return it’s result. If the closure does not finish before the timeout is reached, an Error is returned instead.