(root: &Path, home: &Path, args: &[&str])
| 58 | } |
| 59 | |
| 60 | fn atomic_ok(root: &Path, home: &Path, args: &[&str]) -> String { |
| 61 | let output = atomic(root, home, args); |
| 62 | assert!( |
| 63 | output.status.success(), |
| 64 | "atomic {args:?} failed:\n{}", |
| 65 | atomic_text(&output) |
| 66 | ); |
| 67 | atomic_text(&output) |
| 68 | } |
| 69 | |
| 70 | #[allow(dead_code)] |
| 71 | fn atomic_fail(root: &Path, home: &Path, args: &[&str]) -> String { |
no test coverage detected