FreeBSD.software
Home/devel/p5-Test-Archive-Libarchive

p5-Test-Archive-Libarchive

0.02_1

Testing tools for Archive::Libarchive

Error handling for libarchive and Archive::Libarchive is fairly primitive. Most methods return an int which correspond to ARCHIVE_EOF, ARCHIVE_OK, ARCHIVE_RETRY, ARCHIVE_WARN, ARCHIVE_FAILED or ARCHIVE_FATAL. Some methods will also return the number of actual bytes written on success and one of these codes on failure. It can be tedious doing the necessary checks for each method call in a test, so this module provides tools for testing Archive::Libarchive method calls that follow this pattern.

Origin: devel/p5-Test-Archive-Libarchive
Category: devel
Size: 45.8KiB
License: ART10, GPLv1+
Maintainer: sunpoet@FreeBSD.org
Dependencies: 3 packages
Required by: 0 packages
$pkg install p5-Test-Archive-Libarchive

Dependencies (3)

More in devel