This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add tests for POSIX::tc{drain,flow,flush,sendbreak}()
authorNicholas Clark <nick@ccl4.org>
Tue, 6 Sep 2011 20:22:36 +0000 (22:22 +0200)
committerNicholas Clark <nick@ccl4.org>
Tue, 13 Sep 2011 09:28:05 +0000 (11:28 +0200)
commit8f8f11b514b019e5fda484221d756dd4d736b93b
tree0da429c0fd78a027326fd23f5b8dcbf79637cbe7
parent65ac24840c5e485983a26fccd341a430fd869c5b
Add tests for POSIX::tc{drain,flow,flush,sendbreak}()

We don't want to mess with the user's terminal (as we might mess it up), so
attempt to call each function on a disk file, and verify that it fails with
ENOTTY.
ext/POSIX/t/termios.t