BSD Ports

time/p5-Test-MockTime 0.17nb9 NetBSD

Replaces actual time with simulated time

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
gnu-gpl-v2 OR artistic
Categories
time, perl5
Package size
7.1 KiB, 13.2 KiB installed

Description

This module was created to enable test suites to test code at specific points in time. Specifically it overrides localtime, gmtime and time at compile time and then relies on the user supplying a mock time via set_relative_time, set_absolute_time or set_fixed_time to alter future calls to gmtime,time or localtime.

In the other systems

SystemPortVersion
NetBSDtime/p5-Test-MockTime0.17nb9
FreeBSDdevel/p5-Test-MockTime0.17
OpenBSDdevel/p5-Test-MockTime0.17p0
DragonFlydevel/p5-Test-MockTime0.17
MidnightBSDdevel/p5-Test-MockTime0.17
HardenedBSDdevel/p5-Test-MockTime0.17
GhostBSDdevel/p5-Test-MockTime0.17

Install

Binary package:

pkgin install p5-Test-MockTime

From pkgsrc:

cd /usr/pkgsrc/time/p5-Test-MockTime && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.17nb9
NetBSD 10.1 aarch640.17nb8
SmartOS / illumos x86_640.17nb9
macOS 15 arm640.17nb9

Dependencies

Run dependencies 1

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0