Showing the changes to git-commitgraph/tests/commitgraph.rs (1 of 1 file). Show all
Unified · Split
| @@ -57,7 +57,8 @@ pub fn check_common(cg: &Graph, expected: &HashMap<String, RefInfo, impl BuildHa · 56 unmodified lines | ||
| 57 | 57 | |
| 58 | 58 | pub fn create_repo(script_path: &str) -> tempfile::TempDir { |
| 59 | 59 | 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)) | |
| 61 | 62 | .arg(dir.path()) |
| 62 | 63 | .env_remove("GIT_DIR") |
| 63 | 64 | .status() |