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