From 01ca1d508a15b9d19fd3cc4369b809131b40c24e Mon Sep 17 00:00:00 2001 From: Shailendra Singh Date: Thu, 1 Oct 2026 11:24:06 -0700 Subject: [PATCH] test(mxc): authorize curl in the HTTPS egress fixture Signed-off-by: Shailendra Singh --- crates/openshell-driver-mxc/tests/wxc_exec_real.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/openshell-driver-mxc/tests/wxc_exec_real.rs b/crates/openshell-driver-mxc/tests/wxc_exec_real.rs index d54a9b8cb6..71a983d300 100644 --- a/crates/openshell-driver-mxc/tests/wxc_exec_real.rs +++ b/crates/openshell-driver-mxc/tests/wxc_exec_real.rs @@ -1036,7 +1036,10 @@ async fn pc_https_egress_reads_injected_ca_bundle() { access: "read-only".to_string(), ..Default::default() }], - binaries: vec![NetworkBinary { path: cmd_string }], + // The proxy authorizes the socket owner, not its cmd.exe parent. + binaries: vec![NetworkBinary { + path: curl.to_string_lossy().into_owned(), + }], }, )]), ..Default::default()