BSD Ports

devel/p5-Test-MockTime-HiRes 0.08 MidnightBSD

Replaces actual time with simulated high resolution time

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

Description

Test::MockTime::HiRes is a Time::HiRes compatible version of Test::MockTime. You can wait milliseconds in simulated time.

It also provides mock_time to restrict the effect of the simulation in a code block.

In the other systems

The newest version among them is 0.08, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-Test-MockTime-HiRes0.08 newestno data-[email protected]-
FreeBSDdevel/p5-Test-MockTime-HiRes0.08 newestnone known-[email protected]-
OpenBSDdevel/p5-Test-MockTime-HiRes0.08 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDtime/p5-Test-MockTime-HiRes by name0.08nb4 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-Test-MockTime-HiRes0.08 newestnone known-[email protected]-
HardenedBSDdevel/p5-Test-MockTime-HiRes0.08 newestno data-[email protected]-
GhostBSDdevel/p5-Test-MockTime-HiRes0.08 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-Test-MockTime-HiRes

From mports:

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

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

RUN_DEPENDS=	p5-Test-MockTime-HiRes>0:devel/p5-Test-MockTime-HiRes

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 12
  • %%SITE_PERL%%/Test/MockTime/HiRes.pm
  • %%PERL5_MAN3%%/Test::MockTime::HiRes.3.gz
  • @dirrmtry %%SITE_PERL%%/Test/MockTime
  • @dirrmtry %%SITE_PERL%%/Test
  • @dirrmtry %%SITE_ARCH%%/auto/Test/MockTime/HiRes
  • @dirrmtry %%SITE_ARCH%%/auto/Test/MockTime
  • @dirrmtry %%SITE_ARCH%%/auto/Test
  • @dirrmtry %%SITE_ARCH%%/auto
  • @dirrmtry
  • @dirrmtry
  • @dirrmtry lib/perl5/site_perl
  • @dirrmtry lib/perl5
distinfo 1
FileSizeSHA256
Test-MockTime-HiRes-0.08.tar.gz111915f49f7aef895d327dafdf2744f39c176c8ab0e4b8227d2d6e3de689a259bdec1
Master sites 1
  • CPAN