Query: test::checkmanifest
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Test::CheckManifest(3pm) User Contributed Perl Documentation Test::CheckManifest(3pm)NAMETest::CheckManifest - Check if your Manifest matches your distroVERSIONversion 1.25SYNOPSISuse Test::CheckManifest; ok_manifest();DESCRIPTION"Test::CheckManifest" EXPORT There is only one method exported: "ok_manifest"METHODSok_manifest [{exclude => $arref}][$msg] checks whether the Manifest file matches the distro or not. To match a distro the Manifest has to name all files that come along with the distribution. To check the Manifest file, this module searches for a file named "MANIFEST". To exclude some directories from this test, you can specify these dirs in the hashref. ok_manifest({exclude => ['/var/test/']}); is ok if the files in "/path/to/your/dist/var/test/" are not named in the "MANIFEST" file. That means that the paths in the exclude array must be "pseudo-absolute" (absolute to your distribution). To use a "filter" you can use the key "filter" ok_manifest({filter => [qr/.svn/]}); With that you can exclude all files with an '.svn' in the filename or in the path from the test. These files would be excluded (as examples): o /dist/var/.svn/test o /dist/lib/test.svn You can also combine "filter" and "exclude" with 'and' or 'or' default is 'or': ok_manifest({exclude => ['/var/test'], filter => [qr/.svn/], bool => 'and'}); These files have to be named in the "MANIFEST": o /var/foo/.svn/any.file o /dist/t/file.svn o /var/test/test.txt These files not: o /var/test/.svn/* o /var/test/file.svnEXCLUDING FILESBeside "filter" and "exclude" there is another way to exclude files: "MANIFEST.SKIP". This is a file with filenames that should be excluded: t/my_very_own.t file_to.skipACKNOWLEDGEMENTGreat thanks to Christopher H. Laco, who did a lot of testing stuff for me and he reported some bugs to RT.AUTHORRenee Baecker, <module@renee-baecker.de>COPYRIGHT AND LICENSECopyright (C) 2006 - 2011 by Renee Baecker This library is free software; you can redistribute it and/or modify it under the same terms as Artistic License 2.0AUTHORRenee Baecker <module@renee-baecker.de>COPYRIGHT AND LICENSEThis software is Copyright (c) 2011 by Renee Baecker. This is free software, licensed under: The Artistic License 2.0 (GPL Compatible) perl v5.14.2 2012-01-31 Test::CheckManifest(3pm)
Related Man Pages |
---|
test::pod5.18(3) - mojave |
module::manifest(3pm) - debian |
test::checkmanifest(3pm) - debian |
test::compile(3pm) - debian |
test::distmanifest(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Linux distro |
stupid question about distro's |
Help in Find command filter test files |
[ask]awk in csh to extract content from file |
What is your favorite Linux distro? |