devel/p5-Test-TempDir 0.11nb6 NetBSD
Temporary files support for testing
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 9.9 KiB, 27.7 KiB installed
Description
Test::TempDir provides temporary directory creation with testing in mind.
The differences between using this and using File::Temp are:
\* If t/tmp is available (writable, creatable, etc) it's preferred
over $ENV{TMPDIR} etc. Otherwise a temporary directory will be
used.
This is temp\_root
\* Lockfiles are used on t/tmp, to prevent race conditions when
running under a parallel test harness.
\* The temp\_root is cleaned at the end of a test run, but not
if tests failed.
\* temp\_root is emptied at the begining of a test run unconditionally.
\* The default policy is not to clean the individual tempfiles
and tempdirs within temp\_root, in order to aid in debugging of
failed tests.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-Test-TempDir | 0.11nb6 |
| OpenBSD | devel/p5-Test-TempDir | 0.11 |
Install
Binary package:
pkgin install p5-Test-TempDir
From pkgsrc:
cd /usr/pkgsrc/devel/p5-Test-TempDir && 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.11nb6 |
| NetBSD 10.1 aarch64 | 0.11nb5 |
| SmartOS / illumos x86_64 | 0.11nb6 |
| macOS 15 arm64 | 0.11nb6 |
Dependencies
Run dependencies 7
No port depends on this one.