11 Commits

Author SHA1 Message Date
Mac Malainey
7c00df3597 remove x/sys dependency for zos 2024-10-31 10:42:45 -04:00
Mac Malainey
13c571dda3 add z/OS support 2024-10-28 13:11:43 -04:00
Weidi Deng
bb5f79cd0d re-enable non-blocking tests 2023-12-09 09:18:31 +08:00
Guillaume J. Charmes
8efd70af93 Revert #167 to avoid race on Linux. 2023-11-09 10:50:21 -05:00
Guillaume J. Charmes
cafb3b47d0 Fix typo. 2023-10-31 14:32:20 -04:00
Guillaume J. Charmes
219f7e0db9 Add more test helpers, cleanup existing tests. Add editorconfig and golangci config, comply with golangci rules. 2023-10-31 10:52:38 -04:00
Guillaume J. Charmes
bc68e99fbc Minor cosmetic cleanups in the tests. Add missing error checks. Use Fatal instead of Error to avoid panics upon failure. 2023-10-31 09:11:12 -04:00
Vitaly Potyarkin
3abf458f02 Notify about intentionally using blocking io on Darwin 2023-04-28 11:26:34 +00:00
Vitaly Potyarkin
75e52f1103 Do not fail if SetDeadline is not supported by OS 2023-04-28 10:32:36 +00:00
Vitaly Potyarkin
418593def3 Restore support for older Go versions
When compiled with go older than 1.12 creack/pty will not include a fix
for blocking Read() and will be prone to data races - but at least it will work

For more information see issues: #88 #114 #156 #162
2023-04-28 10:16:36 +00:00
Vitaly Potyarkin
5c3f42aa4e Add tests to detect forever hanging Read() 2023-04-28 09:23:20 +00:00