Add regression tests for shell command parsing (#11962)

This commit is contained in:
cornmander
2025-10-24 14:25:54 -04:00
committed by GitHub
parent 4960c47257
commit 31b7c010d0
2 changed files with 117 additions and 1 deletions

View File

@@ -427,7 +427,8 @@ describe('run_shell_command', () => {
expect(failureLog!.toolRequest.success).toBe(false);
});
it('should reject chained commands when only the first segment is allowlisted in non-interactive mode', async () => {
// TODO(#11966): Deflake this test and re-enable once the underlying race is resolved.
it.skip('should reject chained commands when only the first segment is allowlisted in non-interactive mode', async () => {
const rig = new TestRig();
await rig.setup(
'should reject chained commands when only the first segment is allowlisted',