(root: &Path, home: &Path, args: &[&str], envs: &[(&str, &str)])
| 1051 | |
| 1052 | #[allow(dead_code)] |
| 1053 | fn atomic_env(root: &Path, home: &Path, args: &[&str], envs: &[(&str, &str)]) -> Output { |
| 1054 | Command::new(ATOMIC_BIN) |
| 1055 | .args(args) |
| 1056 | .current_dir(root) |
| 1057 | .env("HOME", home) |
| 1058 | .env("ATOMIC_HOME", home.join(".atomic")) |
| 1059 | .envs(envs.iter().copied()) |
| 1060 | .output() |
| 1061 | .expect("run atomic") |
| 1062 | } |
| 1063 | |
| 1064 | /// Commit with a controlled committer date (the first deterministic shim |
| 1065 | /// tie-break), for ordering-sensitive fixtures. |
no test coverage detected