test(sem): skip the verify-command replay when sh is not on PATH

main

Commit

Suhaan Thayyil5d ago

TestSearchRepositoryVerifyFromASubdirectoryRunsAgainstTheRealModule replays the emitted verify command through sh -c. It already skips when the go toolchain is missing, but not when sh is, so on a stock Windows machine it failed:

emitted command failed from the scope root: exec: "sh": executable file not found in %PATH%

Git for Windows ships sh but does not put it on PATH by default; the Windows CI runners do, which is why CI never saw this. The derivation assertions above the replay still run everywhere. With Git's sh on PATH the replay itself passes on Windows.