Skip to main content

login_shell_with

Function login_shell_with 

Source
pub fn login_shell_with(
    shell_env: Option<String>,
    passwd_shell: Option<String>,
    runs: impl Fn(&str) -> bool,
) -> String
Expand description

login_shell with its sources and the program check injected, testable without mutating process-global state (which would race parallel tests).