(root: &Path, home: &Path, args: &[&str])
| 58 | } |
| 59 | |
| 60 | fn atomic_fail(root: &Path, home: &Path, args: &[&str]) -> String { |
| 61 | let output = atomic(root, home, args); |
| 62 | assert!( |
| 63 | !output.status.success(), |
| 64 | "atomic {args:?} unexpectedly succeeded:\n{}", |
| 65 | atomic_text(&output) |
| 66 | ); |
| 67 | atomic_text(&output) |
| 68 | } |
| 69 | |
| 70 | fn key_file(home: &Path) -> std::path::PathBuf { |
| 71 | let mut secret = [0u8; 32]; |
no test coverage detected