(repo_dir: &Path, home_dir: &Path, args: &[&str])
| 14 | const ATOMIC_BIN: &str = env!("CARGO_BIN_EXE_atomic"); |
| 15 | |
| 16 | fn atomic(repo_dir: &Path, home_dir: &Path, args: &[&str]) -> Output { |
| 17 | Command::new(ATOMIC_BIN) |
| 18 | .args(args) |
| 19 | .current_dir(repo_dir) |
| 20 | .env("HOME", home_dir) |
| 21 | .env_remove("ATOMIC_SERVICE") |
| 22 | .env_remove("ATOMIC_RPC") |
| 23 | .output() |
| 24 | .expect("run atomic") |
| 25 | } |
| 26 | |
| 27 | fn success(output: Output) -> String { |
| 28 | assert!( |
no test coverage detected