[csw-maintainers] GAR: Basic custom tests for packages

Maciej (Matchek) Blizinski maciej at opencsw.org
Thu Oct 22 01:04:04 CEST 2009


Let's suppose I wanted to write some basic checks for a package. For
instance, that I expect there to be a certain file in the prototype,
with such and such name and such and such attributes (ownership,
permissions, etc). I guess I would do something like:

TEST_SCRIPTS = custom

test-custom:
        test code here

How do I access things like the prototype, or files at the location
from where they're already merged?

Maciej



More information about the maintainers mailing list