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