(root: &Path, args: &[&str])
| 92 | } |
| 93 | |
| 94 | fn git(root: &Path, args: &[&str]) -> Output { |
| 95 | let mut command = Command::new("git"); |
| 96 | command.args(args).current_dir(root); |
| 97 | // Deterministic identity + dates: identical corpus state across fresh |
| 98 | // repositories produces identical commit OIDs (the equivalence run |
| 99 | // depends on this). |
| 100 | command |
| 101 | .env("GIT_AUTHOR_NAME", "Budget Bench") |
| 102 | .env("GIT_AUTHOR_EMAIL", "bench@example.com") |
| 103 | .env("GIT_COMMITTER_NAME", "Budget Bench") |
| 104 | .env("GIT_COMMITTER_EMAIL", "bench@example.com") |
| 105 | .env("GIT_AUTHOR_DATE", "@1726732800 +0000") |
| 106 | .env("GIT_COMMITTER_DATE", "@1726732800 +0000"); |
| 107 | command.output().expect("run git") |
| 108 | } |
| 109 | |
| 110 | fn git_ok(root: &Path, args: &[&str]) { |
| 111 | let output = git(root, args); |
no test coverage detected