aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/tests/suites/test_utils.c
Commit message (Collapse)AuthorAgeFilesLines
* unit-tests: Force a CET/CEST timezone Windows understandsMartin Willi2014-06-041-0/+4
| | | | | | As it is currently unclear what the "three-letter-timezone" for CEST is, we use the German timezone, which actually is CET/CEST. SetEnvironmentVariable() "TZ" does not seem to affect localtime(), so we use _putenv() instead.
* utils: Provide a path_absolute() function to check path for non-relativenessMartin Willi2014-06-041-38/+53
| | | | The usually used trivial '/' check won't work on Windows platforms.
* utils: Support Windows path separators in path_basename/dirnameMartin Willi2014-06-041-0/+19
|
* utils: Add memrchr(3) replacement for platforms that don't support itTobias Brunner2014-02-261-0/+44
| | | | For instance, on Mac OS X memrchr(3) is not provided by the C library.
* utils: Add thread-safe variants of dirname(3) and basename(3)Tobias Brunner2014-02-241-0/+56
|
* utils: Add strreplace functionTobias Brunner2014-01-231-0/+87
|
* unit-tests: Move test suites to its own subfolderMartin Willi2013-11-061-0/+556