(root: &Path, args: &[&str])
| 7 | use serde_json::Value; |
| 8 | |
| 9 | fn command(root: &Path, args: &[&str]) -> Command { |
| 10 | let mut command = Command::new(env!("CARGO_BIN_EXE_atomic")); |
| 11 | command |
| 12 | .args(args) |
| 13 | .current_dir(root) |
| 14 | .env("ATOMIC_SERVICE", "local") |
| 15 | .env_remove("ATOMIC_RPC") |
| 16 | .env("ATOMIC_DB_LOCK_WAIT_MS", "100") |
| 17 | .env("ATOMIC_DAEMON_BIN", root.join("no-daemon-binary")) |
| 18 | .env("ATOMIC_DAEMON_SOCKET", root.join("no-daemon.socket")); |
| 19 | command |
| 20 | } |
| 21 | |
| 22 | fn json(output: Output) -> Value { |
| 23 | assert!( |
no outgoing calls
no test coverage detected