(repo_dir: &Path, home_dir: &Path, args: &[&str])
| 26 | } |
| 27 | |
| 28 | fn run(repo_dir: &Path, home_dir: &Path, args: &[&str]) -> String { |
| 29 | let output = atomic(repo_dir, home_dir, args); |
| 30 | assert!( |
| 31 | output.status.success(), |
| 32 | "{args:?} failed: {}", |
| 33 | String::from_utf8_lossy(&output.stderr) |
| 34 | ); |
| 35 | String::from_utf8_lossy(&output.stdout).into_owned() |
| 36 | } |
| 37 | |
| 38 | /// A fresh repo + vault with an isolated HOME carrying a default identity |
| 39 | /// (the attestation flow needs one). |
no test coverage detected