(root: &Path, home: &Path, args: &[&str])
| 72 | } |
| 73 | |
| 74 | fn atomic_ok(root: &Path, home: &Path, args: &[&str]) -> String { |
| 75 | let output = atomic(root, home, args); |
| 76 | assert!( |
| 77 | output.status.success(), |
| 78 | "atomic {args:?} failed:\n{}", |
| 79 | atomic_text(&output) |
| 80 | ); |
| 81 | atomic_text(&output) |
| 82 | } |
| 83 | |
| 84 | fn git(root: &Path, args: &[&str]) -> String { |
| 85 | let output = Command::new("git") |
no test coverage detected