summaryrefslogtreecommitdiff
path: root/common/tests/test-path.c
Commit message (Collapse)AuthorAgeFilesLines
* path: Add p11_path_canon() functionStef Walter2013-07-031-0/+17
| | | | Cleans up a filename with readable characters.
* path: Add p11_path_prefix() functionStef Walter2013-07-031-0/+13
| | | | | Checks if a wellformed path is identical to or a prefix of another path.
* path: Add p11_path_parent() functionStef Walter2013-06-141-0/+17
| | | | | Gets the parent element of the path, removing the last component. Handles trailing and duplicate path separators correctly.
* path: Fix expanding of paths and testsStef Walter2013-06-141-20/+26
|
* Our own unit testing frameworkStef Walter2013-05-211-45/+23
| | | | | | | | * 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
* Support /xxx/yyy as an absolute path with Win32Stef Walter2013-05-211-1/+1
| | | | | Because win32 code doesn't just run on windows, wine runs with unix style paths.
* More compatible path munging and handling codeStef Walter2013-04-031-0/+202
Centralize the path handling code, so we can remove unixy assumptions and have a chance of running on Windows. The current goal is to run all the tests on Windows. Includes some code from LRN <lrn1986@gmail.com> https://bugs.freedesktop.org/show_bug.cgi?id=63062