(output: &Output)
| 66 | } |
| 67 | |
| 68 | fn atomic_text(output: &Output) -> String { |
| 69 | format!( |
| 70 | "{}{}", |
| 71 | String::from_utf8_lossy(&output.stdout), |
| 72 | String::from_utf8_lossy(&output.stderr) |
| 73 | ) |
| 74 | } |
| 75 | |
| 76 | /// Run atomic, assert success, return stdout+stderr. |
| 77 | fn atomic_ok(root: &Path, home: &Path, args: &[&str]) -> String { |