summaryrefslogtreecommitdiff
path: root/p11-kit/tests/test-init.c
Commit message (Collapse)AuthorAgeFilesLines
* Use simple serial automake test harnessStef Walter2013-07-231-0/+1
| | | | | * Add a testing sanity check to see if we're catching errors * Fix a few other testing issues
* Fix various issues highlighted by coverity scannerStef Walter2013-07-181-0/+3
| | | | Among others fix possible usage of large stack allocation.
* Our own unit testing frameworkStef Walter2013-05-211-81/+63
| | | | | | | | * Support the TAP protocol * Much cleaner without having to carry around state * First class support for setup/teardown * Port the common tests * Wait on porting other tests until we've merged outstanding code
* Manage C_CloseAllSessions function for multiple callersStef Walter2013-05-211-1/+8
| | | | | | Make C_CloseAllSessions work for different callers. Track the sessions that each caller opens and close just those when C_CloseAllSessiosn is called.
* p11-kit: Managed PKCS#11 module loadingStef Walter2013-05-211-35/+141
| | | | | | | | | Support a new managed style module loading for PKCS#11 modules. This allows us to better coordinate between multiple callers of the same PKCS#11 modules and provide hooks into their behavior. This meant redoing the public facing API. The old methods are now deprecated, marked and documented as such.
* Use putenv() instead of setenv()Stef Walter2013-03-031-1/+1
| | | | Since older operating systems don't support setenv()
* Add more mock-module implementationStef Walter2013-02-041-2/+2
| | | | | * Move mock code into the common/ directory to be used by multiple components of p11-kit
* Set strict debug preconditions during testingStef Walter2013-01-091-0/+1
|
* Move debug and library code into the common/ subdirectoryStef Walter2013-01-091-0/+320
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.