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