Repository navigation
Commit cea6084
fix(windows CI): docker_vendor_common_selftest ran against the WSL bash stub
has_bash() only checked that `bash` SPAWNED — on windows-latest,
Command::new("bash") resolves to the System32 WSL stub (no distro
installed), which spawns fine but cannot run a script: it prints its
error as UTF-16 on stdout and exits non-zero, failing all three
stage_patch selftests with empty stderr. Probe an actual `bash -c` run
and require the sentinel back, so hosts without a functional bash skip
(the snippets' real target is the Linux docker images; unix CI hosts
keep full coverage).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 5dae1dc commit cea6084
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | | - | |
31 | | - | |
| 36 | + | |
32 | 37 | | |
33 | | - | |
34 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
| |||
0 commit comments