Add tests for POSIX::Termios->setattr().
authorNicholas Clark <nick@ccl4.org>
Tue, 6 Sep 2011 20:11:49 +0000 (22:11 +0200)
committerNicholas Clark <nick@ccl4.org>
Tue, 13 Sep 2011 09:28:05 +0000 (11:28 +0200)
commit65ac24840c5e485983a26fccd341a430fd869c5b
tree801ad652305ffc304e369db3bbc354bcf93eb19b
parent47a9096b48d36cdb2d5e1fd6af9993fe5d6e909b
Add tests for POSIX::Termios->setattr().

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