BSD Ports

devel/p5-Test-Exit 0.11nb8 NetBSD

Test that some code calls exit() without terminating testing

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

Description

Test::Exit provides some simple tools for testing code that might call exit(), providing you with the status code without exiting the test file.

The only criterion tested is that the supplied code does or does not call exit(). If the code throws an exception, the exception will be propagated and you will have to catch it yourself. die()ing is not exiting for the purpose of these tests.

Unlike previous versions of this module, the current version doesn't use exceptions to do its work, so even if you call exit() inside of an eval, everything should work.

In the other systems

SystemPortVersion
NetBSDdevel/p5-Test-Exit0.11nb8
FreeBSDdevel/p5-Test-Exit0.11
OpenBSDdevel/p5-Test-Exit0.11p0
DragonFlydevel/p5-Test-Exit0.11
HardenedBSDdevel/p5-Test-Exit0.11
GhostBSDdevel/p5-Test-Exit0.11

Install

Binary package:

pkgin install p5-Test-Exit

From pkgsrc:

cd /usr/pkgsrc/devel/p5-Test-Exit && 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.11nb8
NetBSD 10.1 aarch640.11nb7
SmartOS / illumos x86_640.11nb8
macOS 15 arm640.11nb8

Dependencies

Run dependencies 2

No port depends on this one.

Commit history 1

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