aboutsummaryrefslogtreecommitdiff
path: root/src/detect
diff options
context:
space:
mode:
authorJJ Liebig <jonathan.liebig@gmail.com>2026-09-05 20:39:32 +0200
committerGitHub <noreply@github.com>2026-09-05 21:39:32 +0300
commit50ce4ec2ddb8ec621a77d8773aa6df6d9e7441ff (patch)
treeb61a6e636e31394334ba2ba8e04a34c6e46d4d1b /src/detect
parent6c52aad511b0fb601e6223bd6ad944f48cbdba6d (diff)
fix: run the full applicable test suite on windows (#3660)
* fix: run the full applicable test suite on windows * test: remove redundant test shell assignment * test: make endpoint and metadata fixtures deterministic * test: tolerate exited servers during windows probe cleanup
Diffstat (limited to 'src/detect')
-rw-r--r--src/detect/manifest_update.rs27
1 files changed, 24 insertions, 3 deletions
diff --git a/src/detect/manifest_update.rs b/src/detect/manifest_update.rs
index 4e165fe9..33493059 100644
--- a/src/detect/manifest_update.rs
+++ b/src/detect/manifest_update.rs
@@ -699,7 +699,14 @@ path = "codex.toml"
.unwrap();
std::env::set_var(
CATALOG_URL_ENV,
- format!("file://{}", web_dir.join("index.toml").display()),
+ format!(
+ "file:///{}",
+ web_dir
+ .join("index.toml")
+ .to_string_lossy()
+ .replace('\\', "/")
+ .trim_start_matches('/')
+ ),
);
let (tx, mut rx) = tokio::sync::mpsc::channel(1);
@@ -762,7 +769,14 @@ path = "codex.toml"
fs::write(remote_manifest_path(Agent::Codex), current).unwrap();
std::env::set_var(
CATALOG_URL_ENV,
- format!("file://{}", web_dir.join("index.toml").display()),
+ format!(
+ "file:///{}",
+ web_dir
+ .join("index.toml")
+ .to_string_lossy()
+ .replace('\\', "/")
+ .trim_start_matches('/')
+ ),
);
let (tx, mut rx) = tokio::sync::mpsc::channel(1);
@@ -833,7 +847,14 @@ path = "missing-cursor.toml"
.unwrap();
std::env::set_var(
CATALOG_URL_ENV,
- format!("file://{}", web_dir.join("index.toml").display()),
+ format!(
+ "file:///{}",
+ web_dir
+ .join("index.toml")
+ .to_string_lossy()
+ .replace('\\', "/")
+ .trim_start_matches('/')
+ ),
);
let (tx, mut rx) = tokio::sync::mpsc::channel(1);