From 4abaeaa771173a78eb28c0979f9dbbbcc1e5a0ad Mon Sep 17 00:00:00 2001 From: Kris Hicks Date: Fri, 31 Jul 2026 09:50:07 -0700 Subject: [PATCH] test(podman): gate gateway discovery test on Linux Run the constructor gateway-discovery error test only on Linux, matching the production branch that inspects the Podman bridge gateway. macOS uses its Podman machine callback path and correctly skips that inspection. Signed-off-by: Kris Hicks --- crates/openshell-driver-podman/src/driver.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/openshell-driver-podman/src/driver.rs b/crates/openshell-driver-podman/src/driver.rs index f871caf7b6..6aadabad96 100644 --- a/crates/openshell-driver-podman/src/driver.rs +++ b/crates/openshell-driver-podman/src/driver.rs @@ -1414,6 +1414,7 @@ mod tests { assert!(err.to_string().contains("slirp4netns")); } + #[cfg(target_os = "linux")] #[tokio::test] async fn constructor_preserves_required_network_gateway_discovery_error() { let (socket_path, _request_log, handle) = spawn_podman_stub(