diff options
| author | Andrew Krasnoff <andrew.krasnoff@toptal.com> | 2026-07-29 00:20:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-29 01:20:58 +0300 |
| commit | a0a6e13f1118ad3db52d4c851eefbcca7756e5e8 (patch) | |
| tree | 0d4ec8dc712a05c6017403266cb348a9074eab5d /.github | |
| parent | e27a4ea427c9ed6248c0ee80570e94ed7b1928bd (diff) | |
fix: count ptmx master fds under devpts layouts (#1984)
live_server_holds_one_pty_master_fd_per_pane counted only /proc/<pid>/fd links
resolving to exactly /dev/ptmx. On devpts setups such as WSL2 and many
containers, a PTY master fd resolves to /dev/pts/ptmx instead, so the test found
zero masters and failed with "had 0 ptmx master fds; expected 1" even though the
server held the pane's master fd. Match both ptmx node paths; pty slaves still
resolve to /dev/pts/<N> and stay uncounted, so the one-master-per-pane invariant
is unchanged.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
