BSD Ports

devel/p5-Test-Time 0.092 MidnightBSD

Perl extension to override time()/sleep() core functions for testing

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
devel, perl5

Description

Test::Time can be used to test modules that deal with time. Once you use this module, all references to time and sleep will be internalized. You can set custom time by passing time => number after the use statement.

In the other systems

SystemPortVersion
MidnightBSDdevel/p5-Test-Time0.092
FreeBSDdevel/p5-Test-Time0.092
OpenBSDdevel/p5-Test-Time0.092
NetBSDtime/p5-Test-Time0.092nb4
DragonFlydevel/p5-Test-Time0.092
HardenedBSDdevel/p5-Test-Time0.092
GhostBSDdevel/p5-Test-Time0.092

Install

Binary package:

mport install p5-Test-Time

From mports:

cd /usr/mports/devel/p5-Test-Time && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Test-Time>0:devel/p5-Test-Time

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Test/Time.pm
  • %%PERL5_MAN3%%/Test::Time.3.gz
distinfo 1
FileSizeSHA256
Test-Time-0.092.tar.gz5420930d90f54ce840893c7ba2cac2a4d1eecd4c9cdf805910c595e3ae89dfd644738
Master sites 1
  • CPAN