History

[commitgraph] Attempt to fix bash script execution on Windows.

Conor Davis committed 6 years ago

Commit 5e782131 parent 21e45271 file · +2 −1Browse files

Showing the changes to git-commitgraph/tests/commitgraph.rs (1 of 1 file). Show all

Unified · Split

git-commitgraph/tests/commitgraph.rs+2−1
@@ -57,7 +57,8 @@ pub fn check_common(cg: &Graph, expected: &HashMap<String, RefInfo, impl BuildHa · 56 unmodified lines
5757
5858 pub fn create_repo(script_path: &str) -> tempfile::TempDir {
5959 let dir = tempfile::tempdir().expect("failed to create temp dir");
60− let status = Command::new(fixture_path(script_path))
60+ let status = Command::new("bash")
61+ .arg(fixture_path(script_path))
6162 .arg(dir.path())
6263 .env_remove("GIT_DIR")
6364 .status()