xiaodu55 4b0c512d65
test(deploy): recognize the Docker CLI as docker.exe in the real_docker fixture (#6262)
Path(client).name == "docker" misses the Windows CLI (docker.EXE), so
every real-compose test routed through the standalone-Compose wrapper,
whose shift strips the compose subcommand; the root CLI then rejected
the script's --env-file probe with "unknown flag: --env-file". Compare
the stem instead so the CLI is recognized on Windows too.

Root cause identified by @xihongshichaojidan8 in #6259.

Fixes #6261

Co-authored-by: xiaodu55 <xiaodu55@users.noreply.github.com>
2026-10-04 17:04:17 +08:00
..