Crate uutests

Source

Modules§

macros
random
util

Macros§

at_and_ucmd
Convenience macro for acquiring a UCommand builder and a test path.
get_tests_binary
new_ucmd
Convenience macro for acquiring a UCommand builder.
path_concat
Platform-independent helper for constructing a PathBuf from individual elements
unwrap_or_return
If common::util::expected_result returns an error, i.e. the util in $PATH doesn’t include a coreutils version string or the version is too low, this macro can be used to automatically skip the test and print the reason.
util_name
Deduce the name of the test binary from the test filename.