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
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-Test-Exit | 0.11nb8 |
| FreeBSD | devel/p5-Test-Exit | 0.11 |
| OpenBSD | devel/p5-Test-Exit | 0.11p0 |
| DragonFly | devel/p5-Test-Exit | 0.11 |
| HardenedBSD | devel/p5-Test-Exit | 0.11 |
| GhostBSD | devel/p5-Test-Exit | 0.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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.11nb8 |
| NetBSD 10.1 aarch64 | 0.11nb7 |
| SmartOS / illumos x86_64 | 0.11nb8 |
| macOS 15 arm64 | 0.11nb8 |
Dependencies
Run dependencies 2
No port depends on this one.