(root: &Path, home: &Path, args: &[&str])
| 47 | } |
| 48 | |
| 49 | fn atomic_ok(root: &Path, home: &Path, args: &[&str]) -> String { |
| 50 | let output = atomic(root, home, args); |
| 51 | assert!( |
| 52 | output.status.success(), |
| 53 | "atomic {args:?} failed:\n{}", |
| 54 | atomic_text(&output) |
| 55 | ); |
| 56 | atomic_text(&output) |
| 57 | } |
| 58 | |
| 59 | fn git(root: &Path, args: &[&str]) -> String { |
| 60 | let output = Command::new("git") |
no test coverage detected