(root: &Path, args: &[&str])
| 17 | } |
| 18 | |
| 19 | fn run(root: &Path, args: &[&str]) -> String { |
| 20 | let out = atomic(root, args); |
| 21 | assert!( |
| 22 | out.status.success(), |
| 23 | "{args:?}: {}", |
| 24 | String::from_utf8_lossy(&out.stderr) |
| 25 | ); |
| 26 | String::from_utf8(out.stdout).unwrap() |
| 27 | } |
| 28 | |
| 29 | fn record(root: &Path, message: &str) { |
| 30 | run( |
no test coverage detected