test(bash): defend zero-timeout executor deadline

Signed-off-by: Christian Stewart <christian@aperture.us>
This commit is contained in:
Christian Stewart
2026-07-05 17:28:30 -07:00
parent 78d4978c51
commit 0145131432
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -2,6 +2,10 @@
## [Unreleased]
### Fixed
- Fixed `bash` tool `timeout: 0` so it disables the command deadline instead of falling back to the minimum timeout.
## [16.3.8] - 2026-07-05
### Fixed
@@ -406,7 +406,7 @@ exit 64
if (process.platform === "win32") {
return;
}
const result = await executeBash("sleep 0.1; echo done", { cwd: tempDir, timeout: 0 });
const result = await executeBash("sleep 1.2; echo done", { cwd: tempDir, timeout: 0 });
expect(result.cancelled).toBe(false);
expect(result.output.trim()).toBe("done");
});