(root: &Path, home: &Path, args: &[&str])
| 69 | |
| 70 | #[allow(dead_code)] |
| 71 | fn atomic_fail(root: &Path, home: &Path, args: &[&str]) -> String { |
| 72 | let output = atomic(root, home, args); |
| 73 | assert!( |
| 74 | !output.status.success(), |
| 75 | "atomic {args:?} unexpectedly succeeded:\n{}", |
| 76 | atomic_text(&output) |
| 77 | ); |
| 78 | atomic_text(&output) |
| 79 | } |
| 80 | |
| 81 | fn git(root: &Path, args: &[&str]) -> Output { |
| 82 | Command::new("git") |
no test coverage detected