test: ignore the curl-dependent asset-fetch test on Windows
verify / verify (pull_request) Skipped
source / check (pull_request) Successful in 4m15s

stock_method's fetch test shells out to curl. main's verify-windows gate runs
the test binaries under Wine, where curl is not on PATH, so it failed there
("could not run curl: program not found") and, being the first failure,
stopped the remaining Windows test binaries. Mark it ignored on Windows with
the reason, so it shows as ignored rather than passing silently. Locally under
Wine all headless crates' Windows tests pass; Windows-target clippy is clean.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B1W6qKwKxq3oUPDKWicM6i
This commit is contained in:
2026-11-12 13:47:20 -06:00
co-authored by Claude Opus 5.5
parent 836a531e93
commit cd02ff47a5
+7
View File
@@ -2356,6 +2356,13 @@ mod tests {
}
#[test]
// The fetch path shells out to curl (as the whole method relies on local
// ssh/sshpass/curl). The Windows CI runs the test binary under Wine, where
// curl is not on PATH, so the test cannot run there.
#[cfg_attr(
windows,
ignore = "needs curl on PATH; the Windows CI runs tests under Wine without it"
)]
fn fetch_pipeline_caches_verifies_and_redownloads() {
let work = TempDir::new("fetchtest").expect("temp dir");
let source = work.path().join("source");