aboutsummaryrefslogtreecommitdiff
path: root/tests/package.lisp
Commit message (Collapse)AuthorAge
* initial tests for CONSFIGURATOR.DATA.PGPDavid Bremner2022-05-05
| | | | | | | Define some simple regression tests to guard against breakage due to the refactoring of gnupg usage. Signed-off-by: David Bremner <david@tethera.net>
* run tests with temporary gpg homeDavid Bremner2022-05-05
| | | | | | | | | | | The big picture change here is the introduction of a custom test runner which allows setting up and tearing down various data sources (or other resources) for the test suite. In order to parse the output of gpg, provide a new exported function CONSFIGURATOR:STRIP-PREFIX. Signed-off-by: David Bremner <david@tethera.net>
* add package CONSFIGURATOR.DATA.UTILDavid Bremner2022-05-05
| | | | | | | | | | | | | | This package is intended to provide a home for utility functions used by multiple data sources. Initially move a local function from CONSFIGURATOR.DATA.FILES-TREE, and slightly generalize it to support an extension or TYPE argument. Note that the goal of LITERAL-DATA-PATHNAME is to map (IDEN1 IDEN2) to existing paths in a user-maintained file hierarchy. This is quite different from DATA-PATHNAME, which escapes various characters to map to a safe internal filename, effectively flattening a directory hierarchy into a single level. Signed-off-by: David Bremner <david@tethera.net>
* add some tests for new conf file propertiesSean Whitton2021-04-01
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>