summaryrefslogtreecommitdiff
path: root/tests/conf-test.c
Commit message (Collapse)AuthorAgeFilesLines
* Move debug and library code into the common/ subdirectoryStef Walter2013-01-091-414/+0
| | | | | | | | | | | Start using p11_ as our internal prefix rather than _p11_. We explicitly export p11_kit_ so this is fine as far as visibility. Move the threading, mutex, and module compat, dict, and array code into the common directory too. Take this opportunity to clean up a bit of internal API as well, since so many lines are being touched internally.
* Fix warning on windowsStef Walter2012-07-261-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=44740
* Use '.module' extension on module configsStef Walter2012-07-241-7/+16
| | | | | | | | | | | | | * And want alphanumeric/_.- filenames * Currently this is just a warning, soon it will be enforced * The name of a module does not include the extension Andreas Metzler and Ubuntu both worked on this patch, and I've made some more changes. See https://bugs.launchpad.net/ubuntu/+source/p11-kit/+bug/911436 https://bugs.freedesktop.org/show_bug.cgi?id=52158
* Add tests for enable-in and disable-inStef Walter2012-04-021-8/+8
|
* Build some test modules for testing main p11-kit functionalityStef Walter2012-04-021-8/+8
| | | | * And put together a test for duplicate modules
* Compile CuTest.c separately.Andreas Metzler2011-12-231-2/+0
| | | | | Use regular compile and link instead of having #include "CuTest.c" in every test. Works around gcc optimization issue.
* Rename non-static functions to have a _p11_xxx prefix.Stef Walter2011-10-241-70/+70
| | | | | | | * Work around issues with brain-dead linkers not respecting the libtool -export-symbol-regex argument https://bugs.freedesktop.org/show_bug.cgi?id=42020
* Initial port to win32Stef Walter2011-10-171-0/+2
| | | | | | | | * Tests do not all yet pass, at least not on wine * Added abstraction of some non-portable functions in compat.h/c * Build with an argument like this for win32 support: ./autogen.sh --host=i586-mingw32msvc * This win32 port needs more work from interested parties
* Reimplement and remove apache licensed bits of code.Stef Walter2011-07-271-32/+32
| | | | | | | | | | * Reimplement the various bits of the hash table that were still based on the apache apr code. Use different algorithms for hashing, lookup and other stuff. * Use this as an opportunity to cleanup that code and make it more legible. https://bugzilla.redhat.com/show_bug.cgi?id=725905
* Complete testing of global config files and directories.Stef Walter2011-06-091-0/+262
|
* Store last failure message per thread.Stef Walter2011-06-091-7/+6
| | | | * Add p11_kit_message() function to get last message.
* Refactor configurationStef Walter2011-06-081-9/+31
| | | | | * Move configuration loading into conf.c * Have user modules with same name merge/override modules in system.
* Free string output of conf-testStef Walter2011-06-071-0/+1
|
* Configuration tests.Stef Walter2011-01-301-0/+121