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
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/p5-Test-Time | 0.092 |
| FreeBSD | devel/p5-Test-Time | 0.092 |
| OpenBSD | devel/p5-Test-Time | 0.092 |
| NetBSD | time/p5-Test-Time | 0.092nb4 |
| DragonFly | devel/p5-Test-Time | 0.092 |
| HardenedBSD | devel/p5-Test-Time | 0.092 |
| GhostBSD | devel/p5-Test-Time | 0.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
| File | Size | SHA256 |
|---|---|---|
| Test-Time-0.092.tar.gz | 54209 | 30d90f54ce840893c7ba2cac2a4d1eecd4c9cdf805910c595e3ae89dfd644738 |
Master sites 1
- CPAN