(output: &Output, operation: &str)
| 27 | } |
| 28 | |
| 29 | fn assert_success(output: &Output, operation: &str) { |
| 30 | assert!( |
| 31 | output.status.success(), |
| 32 | "{operation} failed:\nstdout:\n{}\nstderr:\n{}", |
| 33 | String::from_utf8_lossy(&output.stdout), |
| 34 | String::from_utf8_lossy(&output.stderr) |
| 35 | ); |
| 36 | } |
| 37 | |
| 38 | fn init_atomic(root: &Path, home: &Path, view: &str) { |
| 39 | let output = atomic(root, home, &["init", "--view", view]); |
no outgoing calls
no test coverage detected