mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-18 08:47:27 +00:00
tests: stabilize exec PATH shell fallback
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user