test(shell): fix test on non posix shell

This commit is contained in:
hqt
2026-06-01 17:25:49 +08:00
committed by Hunter B
parent 87b5c78d8a
commit d88b2c36ab
+1 -1
View File
@@ -119,7 +119,7 @@ fn shell_execution_scrubs_parent_env_and_keeps_explicit_env() {
let result = manager
.execute_with_options_env(
"printf '%s\\n%s\\n' \"${DEEPSEEK_CHILD_ENV_SHELL_SECRET-unset}\" \"${DEEPSEEK_CHILD_ENV_EXPLICIT-unset}\"",
"sh -c 'printf \"%s\\n%s\\n\" \"${DEEPSEEK_CHILD_ENV_SHELL_SECRET-unset}\" \"${DEEPSEEK_CHILD_ENV_EXPLICIT-unset}\"'",
None,
5000,
false,