This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [test] Use secondary pty end for testing Terminal
ClosedPublic

Authored by mgorny on Oct 8 2021, 4:51 AM.

Details

Summary

Open and use the secondary end of a pty for testing Terminal properties
in order to fix the tests on Darwin. While at it, streamline getting
the fd and Terminal class.

Diff Detail

Event Timeline

mgorny requested review of this revision.Oct 8 2021, 4:51 AM
mgorny created this revision.
teemperor accepted this revision.Oct 8 2021, 5:19 AM

If Green Dragon was still with us this would make it happy (and green), so LGTM.

This revision is now accepted and ready to land.Oct 8 2021, 5:19 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptOct 8 2021, 5:43 AM