[tests] Diff: the differential suite runs on Windows too (Windows Caddy, drive paths), with two branch previews in the fixtures; edge leaves a websocket 101 as the upstream sent it, as Caddy does

This commit is contained in:
2026-11-17 13:59:18 +01:00
parent acf69a8ed2
commit 5e273241e4
6 changed files with 114 additions and 25 deletions
+2 -11
View File
@@ -7,17 +7,8 @@
#![allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
#[cfg(not(unix))]
#[test]
fn skipped_on_windows() {
eprintln!(
"SKIPPED on Windows: {} needs Linux (Pingora runner, Caddy, Pebble); run it in WSL2, see CLAUDE.md",
file!()
);
}
#[cfg(unix)]
mod unix {
// Runs on Linux and on Windows (with Windows paths; see the crate's docs).
mod both {
use ianitor_diff::{
Action, Env, break_caddy, break_edge, compile_pair, corpus, run_cases, run_corpus, settle,
start_caddy, start_edge,