File: 01.dependencies.t

package info (click to toggle)
libio-prompt-perl 0.997001-1%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 276 kB
  • sloc: perl: 846; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 188 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
use Test::More tests => 2;
use IO::Pty;

$pty = new IO::Pty;
$tty = $pty->ttyname();

ok( open(my $OUT, ">$tty"), "Output to $tty");
ok( open(my $IN, "<$tty"), "Input from $tty");