Home | History | Annotate | only in /src/tests/lib/libc/ttyio
History log of /src/tests/lib/libc/ttyio
RevisionDateAuthorComments
 1.2 13-Jan-2011  pgoyette Last one for today: move t_ptm test from lib/libc/ to lib/libc/ttyio/
 1.1 07-Jan-2011  pgoyette Atf-ify a couple more tests
 1.3 05-Aug-2025  gutteridge t_ptm.c: now also validate O_CLOFORK can be set
 1.2 17-May-2023  gutteridge branches: 1.2.4;
t_ptm.c: add a test case that passes extra flags

Validate that O_NONBLOCK and O_CLOEXEC are actually set by
posix_openpt(3), as until circa 9.99.101 they were not.

If/when other flags are added like close-on-fork, this test could be
adjusted. The current concern is with supporting the expectations of
components like vte3, used by various graphical terminal clients.
 1.1 13-Jan-2011  pgoyette Last one for today: move t_ptm test from lib/libc/ to lib/libc/ttyio/
 1.2.4.1 08-Aug-2025  martin Pull up following revision(s) (requested by gutteridge in ticket #8):

tests/lib/libc/ttyio/t_ptm.c: revision 1.3
lib/libc/stdlib/posix_openpt.3: revision 1.11
sys/kern/tty_ptm.c: revision 1.47

tty_ptm.c: support setting O_CLOFORK here as well

t_ptm.c: now also validate O_CLOFORK can be set

posix_openpt.3: note O_CLOFORK is also now supported
 1.3 10-Jan-2017  christos PR/51803: Ngie Cooper: CID 978321: Don't leak openpty() fd.
 1.2 19-Apr-2011  martin branches: 1.2.26;
Make the test case independend of stdin being a terminal
 1.1 07-Jan-2011  pgoyette Atf-ify a couple more tests
 1.2.26.1 20-Mar-2017  pgoyette Sync with HEAD

RSS XML Feed