SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Test-NoTty rpm build for : OpenSuSE. For other distributions click perl-Test-NoTty.

Name : perl-Test-NoTty
Version : 0.03 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp156.1.1 Date : 2024-07-03 19:10:38
Group : Unspecified Source RPM : perl-Test-NoTty-0.03-lp156.1.1.src.rpm
Size : 0.01 MB
Packager : https://www_suse_com/
Summary : Test::NoTty Perl module
Description :
Test your code that handles failure to open _/dev/tty_

On a *nix system the special file _/dev/tty_ always exists, and opening it
gives you a(nother) file handle attached to your controlling terminal. This
is useful if you want direct user input, such as entering passwords or
passphrases, even if \'STDIN\' or \'STDOUT\' are redirected.

But what happens if your code is running non-interactively? Such as
servers, cron jobs, or just CPAN testers? _/dev/tty_ still exists, but
opening it will fail. Your tests need to cover this case. But how do you
test your tests as you write them, when you\'re running them in a terminal
session?

That\'s the purpose of this module. It encapsulates the complex setup dance
with \'fork\', \'setsid\' _etc_, to locally drop the controlling terminal, so
that you can interactively run code to test those code paths.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.6/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Test-NoTty-0.03-lp156.1.1.noarch.rpm
     

Provides :
perl(Test::NoTty)
perl-Test-NoTty

Requires :
perl(:MODULE_COMPAT_5.26.1)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Test
/usr/lib/perl5/vendor_perl/5.26.1/Test/NoTty.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Test-NoTty
/usr/share/doc/packages/perl-Test-NoTty/CONTRIBUTING.md
/usr/share/doc/packages/perl-Test-NoTty/Changes
/usr/share/doc/packages/perl-Test-NoTty/README
/usr/share/man/man3/Test::NoTty.3pm.gz

 
ICM