about summary refs log tree commit homepage
path: root/xt/check-run.t
DateCommit message (Collapse)
2023-11-03replace ProcessIO with untied PublicInbox::IO
This fixes two major problems with the use of tie for filehandles: * no way to do fcntl, stat, etc. calls directly on the tied handle, forcing callers to use the `tied' perlop to access the underlying IO::Handle * needing separate classes to handle blocking and non-blocking I/O As a result, Git->cleanup_if_unlinked, InputPipe->consume, and Qspawn->_yield_start have fewer bizzare bits and we can call `$io->blocking(0)' directly instead of `(tied *$io)->{fh}->blocking(0)' Having a PublicInbox::IO class will also allow us to support custom read buffering which allows inspecting the current state.
2023-10-25xt/check-run: call DS->Reset after all tests
This ensures reused processes get a clean start and avoids surprises as we develop more code around the DS event loop.
2023-09-20rename t/run.perl to xt/check-run
This allows us to get rid of some duplication in our Makefile