Skip the "credential_helper5" test if git is not installled. --- a/src/cred.rs +++ b/src/cred.rs @@ -588,6 +588,9 @@ echo username=c #[test] fn credential_helper5() { + if !Path::new("/usr/bin/git").exists() { + return; + } //this test does not work if git is not installed if cfg!(windows) { return; } // shell scripts don't work on Windows