aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Implement package data emitterJoseph Hunkeler2020-06-081-0/+38
|
* Refactor fstree (#39)Joseph Hunkeler2020-06-032-1/+80
| | | | | | | | | | | | | | | * Refactor fstree, fstree_free, FSTree type * Add FSRec structure * Refactor fstree usage * Decrease starting size of FSTree structure * Check if ManifestPackage is NULL, not if the requirements array if NULL * Use num_requirements instead of '!= NULL' * Add fstree test
* Test for strlist_append_file()Joseph Hunkeler2020-05-261-14/+46
|
* Large paths don't matter. All paths will be relative to the tests anyway.Joseph Hunkeler2020-05-241-3/+3
|
* Check the correct variableJoseph Hunkeler2020-05-241-2/+2
|
* Allocate enough stack to support all of its potential argumentsJoseph Hunkeler2020-05-241-1/+1
|
* Add tests for:Joseph Hunkeler2020-05-243-0/+141
| | | | | | * isdigit_s * tolower_s * version_* functions
* Fix missing end quoteJoseph Hunkeler2020-05-081-2/+2
|
* Use pkg-configJoseph Hunkeler2020-05-071-0/+2
|
* Add rpath_get testJoseph Hunkeler2020-05-011-7/+13
|
* Add mock_image functionJoseph Hunkeler2020-05-012-0/+127
|
* define MAXFLOAT if it is not alreadyJoseph Hunkeler2020-04-281-0/+4
|
* Refactor TestValue usageJoseph Hunkeler2020-04-2818-136/+176
|
* Refactor TestValue member namesJoseph Hunkeler2020-04-281-3/+8
|
* Improved strlist:Joseph Hunkeler2020-04-281-0/+178
| | | | | | | * Use strto*() functions instead of ato*() * Add _cmp and _copy functions * Removed compare functions * Replaced qsort call with strsort
* Fix invocation of join_ex()Joseph Hunkeler2020-04-241-1/+1
|
* Find libraries on darwin and linuxJoseph Hunkeler2020-04-241-1/+44
|
* Remove narrow conditionalJoseph Hunkeler2020-04-241-1/+1
|
* Consolidate platform detection preprocessor checksJoseph Hunkeler2020-04-242-4/+4
|
* Disable unused parameter warnings for tests. Tired of them.Joseph Hunkeler2020-04-241-0/+1
|
* Add spm_shlib_deps testJoseph Hunkeler2020-04-241-0/+30
|
* Add spm_perror testJoseph Hunkeler2020-04-211-0/+43
|
* fix textJoseph Hunkeler2020-04-201-2/+2
|
* Add test_error_handler_spmerrno_causeJoseph Hunkeler2020-04-201-0/+33
|
* Apple returns a different errorsJoseph Hunkeler2020-04-201-2/+7
|
* Add error handlerJoseph Hunkeler2020-04-191-0/+27
|
* spm_mkdtemp requires a base directory:Joseph Hunkeler2020-04-181-9/+3
| | | | * test_spm_mkdtemp revealed a difference in how variables are stored (Linux vs. MacOS)
* Add functions:Joseph Hunkeler2020-04-142-0/+116
| | | | | | | | | | | touch() fslist() * Add type: struct FSList * Consolidate platform specific includes
* Merge pull request #20 from jhunkeler/test-spm_mkdtempJoseph Hunkeler2020-04-101-0/+27
|\ | | | | Test spm mkdtemp
| * Add test_spm_mkdtempJoseph Hunkeler2020-04-101-0/+27
| |
* | Merge pull request #19 from jhunkeler/test-fs_human_readable_sizeJoseph Hunkeler2020-04-102-0/+26
|\ \ | | | | | | Add test_human_readable_size
| * | Add test_human_readable_sizeJoseph Hunkeler2020-04-102-0/+26
| |/ | | | | | | * Add additional integer types to TestCase union
* | Check if directories were removedJoseph Hunkeler2020-04-091-0/+3
| |
* | remove whitespaceJoseph Hunkeler2020-04-091-2/+0
| |
* | Add test_fs_mkdirsJoseph Hunkeler2020-04-091-0/+40
|/
* Add test_fs_get_file_sizeJoseph Hunkeler2020-04-092-0/+73
| | | | * Add mock_size function to framework.h
* Merge pull request #16 from jhunkeler/test-expandpathJoseph Hunkeler2020-04-091-0/+35
|\ | | | | Add test_fs_expandpath
| * Add test_fs_expandpathJoseph Hunkeler2020-04-091-0/+35
| |
* | Add test test_relocate_relocateJoseph Hunkeler2020-04-081-0/+47
|/
* Add test_relocation_file_replace_text (#14)Joseph Hunkeler2020-04-081-0/+40
| | | | | | | | | * Add test_relocation_file_replace_text * Fix bad BUFSIZ allocation and interaction * Use the line limit not the number of lines * Zero line buffer before next read
* Test replace_text (#13)Joseph Hunkeler2020-04-062-0/+41
| | | | | | | * Add test boilerplate * Add replace_text test * Redo replace_text
* Add test_config_read testJoseph Hunkeler2020-04-011-0/+80
| | | | * config_read removes whitespace correctly near inline comments
* Add test_checksum_sha256 testJoseph Hunkeler2020-03-312-0/+54
|
* Add quick shell() testJoseph Hunkeler2020-03-301-0/+24
|
* Allow up to 10 arbitrary test argumentsJoseph Hunkeler2020-03-301-0/+1
|
* Add strdup_array() testJoseph Hunkeler2020-03-281-0/+30
|
* Add `const char **` type to TestValue unionJoseph Hunkeler2020-03-281-0/+1
|
* Add normalize_space testJoseph Hunkeler2020-03-271-0/+29
|
* Fix compiler warningsJoseph Hunkeler2020-03-271-6/+2
|
* Fix compiler warnings not triggeringJoseph Hunkeler2020-03-271-0/+3
|