tests: stabilize exec PATH shell fallback

This commit is contained in:
George Pickett
2026-03-03 13:12:02 -08:00
parent 880e51e3ec
commit e11277ac24

View File

@@ -71,6 +71,9 @@ describe("exec PATH login shell merge", () => {
beforeEach(() => {
envSnapshot = captureEnv(["PATH", "SHELL"]);
if (!isWin && !process.env.SHELL) {
process.env.SHELL = "/bin/sh";
}
});
afterEach(() => {