Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add test_fs_get_file_size | Joseph Hunkeler | 2020-04-09 | 2 | -0/+73 |
| | | | | * Add mock_size function to framework.h | ||||
* | Fail if seek fails | Joseph Hunkeler | 2020-04-09 | 1 | -1/+3 |
| | |||||
* | Merge pull request #16 from jhunkeler/test-expandpath | Joseph Hunkeler | 2020-04-09 | 1 | -0/+35 |
|\ | | | | | Add test_fs_expandpath | ||||
| * | Add test_fs_expandpath | Joseph Hunkeler | 2020-04-09 | 1 | -0/+35 |
| | | |||||
* | | Merge pull request #15 from jhunkeler/test-relocate-relocate | Joseph Hunkeler | 2020-04-09 | 2 | -3/+57 |
|\ \ | |/ |/| | Test relocate relocate | ||||
| * | Add test test_relocate_relocate | Joseph Hunkeler | 2020-04-08 | 1 | -0/+47 |
| | | |||||
| * | relocate() return -1 on NULL arguments | Joseph Hunkeler | 2020-04-08 | 1 | -3/+10 |
|/ | |||||
* | Add test_relocation_file_replace_text (#14) | Joseph Hunkeler | 2020-04-08 | 2 | -5/+46 |
| | | | | | | | | | * 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 Hunkeler | 2020-04-06 | 4 | -10/+55 |
| | | | | | | | * Add test boilerplate * Add replace_text test * Redo replace_text | ||||
* | Merge pull request #12 from jhunkeler/enable-remove | Joseph Hunkeler | 2020-04-01 | 1 | -0/+1 |
|\ | | | | | Enable remove mode | ||||
| * | Enable remove mode | Joseph Hunkeler | 2020-04-01 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #11 from jhunkeler/strlist-fixes | Joseph Hunkeler | 2020-04-01 | 1 | -5/+31 |
|\ \ | | | | | | | strlist: Handle NULL input (for most cases) | ||||
| * | | Handle NULL input (for most cases) | Joseph Hunkeler | 2020-04-01 | 1 | -5/+31 |
| |/ | |||||
* | | Merge pull request #10 from jhunkeler/config-test | Joseph Hunkeler | 2020-04-01 | 2 | -4/+89 |
|\ \ | |/ |/| | Add test_config_read test | ||||
| * | Add test_config_read test | Joseph Hunkeler | 2020-04-01 | 2 | -4/+89 |
|/ | | | | * config_read removes whitespace correctly near inline comments | ||||
* | Merge pull request #9 from jhunkeler/test-sha256 | Joseph Hunkeler | 2020-03-31 | 2 | -0/+54 |
|\ | | | | | Add test_checksum_sha256 test | ||||
| * | Add test_checksum_sha256 test | Joseph Hunkeler | 2020-03-31 | 2 | -0/+54 |
|/ | |||||
* | Merge pull request #8 from jhunkeler/shell-test | Joseph Hunkeler | 2020-03-30 | 4 | -12/+37 |
|\ | | | | | Add shell test | ||||
| * | Add quick shell() test | Joseph Hunkeler | 2020-03-30 | 1 | -0/+24 |
| | | |||||
| * | Allow up to 10 arbitrary test arguments | Joseph Hunkeler | 2020-03-30 | 1 | -0/+1 |
| | | |||||
| * | Fix shell command benchmarking | Joseph Hunkeler | 2020-03-30 | 2 | -12/+12 |
|/ | |||||
* | Merge pull request #7 from jhunkeler/strdup_array-test | Joseph Hunkeler | 2020-03-28 | 5 | -54/+92 |
|\ | | | | | strdup_array test | ||||
| * | Add strdup_array() test | Joseph Hunkeler | 2020-03-28 | 1 | -0/+30 |
| | | |||||
| * | Add `const char **` type to TestValue union | Joseph Hunkeler | 2020-03-28 | 1 | -0/+1 |
| | | |||||
| * | bugfix: spm_prompt_user did not capture input and process it as intended | Joseph Hunkeler | 2020-03-28 | 1 | -54/+19 |
| | | |||||
| * | Add strcmp_array() function | Joseph Hunkeler | 2020-03-28 | 2 | -0/+42 |
| | | |||||
* | | Merge pull request #6 from jhunkeler/test-normalize-space | Joseph Hunkeler | 2020-03-27 | 2 | -0/+34 |
|\| | | | | | Test normalize space | ||||
| * | Add normalize_space test | Joseph Hunkeler | 2020-03-27 | 1 | -0/+29 |
| | | |||||
| * | Return NULL if input is NULL | Joseph Hunkeler | 2020-03-27 | 1 | -0/+5 |
|/ | |||||
* | Explicit return | Joseph Hunkeler | 2020-03-27 | 1 | -0/+1 |
| | |||||
* | Fix compiler warnings | Joseph Hunkeler | 2020-03-27 | 1 | -6/+2 |
| | |||||
* | Fix compiler warnings not triggering | Joseph Hunkeler | 2020-03-27 | 2 | -2/+5 |
| | |||||
* | Bugfix: Terminate array | Joseph Hunkeler | 2020-03-27 | 1 | -1/+1 |
| | |||||
* | Merge pull request #5 from jhunkeler/passthough-environment | Joseph Hunkeler | 2020-03-27 | 1 | -1/+55 |
|\ | | | | | Use getenv_pair() to construct a basic runtime environment | ||||
| * | Use getenv_pair() to construct a basic runtime environment | Joseph Hunkeler | 2020-03-27 | 1 | -1/+55 |
|/ | |||||
* | Merge pull request #4 from jhunkeler/e2e1 | Joseph Hunkeler | 2020-03-26 | 2 | -3/+26 |
|\ | | | | | More smoke tests | ||||
| * | Bugfix: Terminate array | Joseph Hunkeler | 2020-03-26 | 1 | -1/+1 |
| | | |||||
| * | More smoke tests | Joseph Hunkeler | 2020-03-26 | 1 | -2/+25 |
|/ | |||||
* | Pass correct type to split() | Joseph Hunkeler | 2020-03-26 | 1 | -8/+8 |
| | |||||
* | Guarantee the array is terminated | Joseph Hunkeler | 2020-03-26 | 1 | -0/+1 |
| | |||||
* | Fix segfault caused by freeing records for no reason: | Joseph Hunkeler | 2020-03-26 | 5 | -18/+22 |
| | | | | * split() returns the input string when no delimiters are found | ||||
* | Add CircleCI badge | Joseph Hunkeler | 2020-03-25 | 1 | -1/+1 |
| | |||||
* | Bugfix: Replace char &reference with const char[] string. | Joseph Hunkeler | 2020-03-25 | 1 | -2/+2 |
| | |||||
* | Fix a few memory leaks: | Joseph Hunkeler | 2020-03-25 | 3 | -9/+22 |
| | | | | * Cannot free array of manifests successfully though... TODO | ||||
* | Fix double less-than check | Joseph Hunkeler | 2020-03-25 | 1 | -1/+1 |
| | |||||
* | TTY check | Joseph Hunkeler | 2020-03-25 | 1 | -1/+7 |
| | |||||
* | Add .circleci/config.yml | Joseph Hunkeler | 2020-03-25 | 11 | -29/+109 |
| | |||||
* | Merge pull request #2 from jhunkeler/ctest | Joseph Hunkeler | 2020-03-24 | 24 | -40/+777 |
|\ | | | | | Implement ctest testing | ||||
| * | Fix bugs uncovered by tests | Joseph Hunkeler | 2020-03-24 | 2 | -40/+116 |
| | | |||||
| * | Initial commit of tests | Joseph Hunkeler | 2020-03-24 | 22 | -0/+661 |
|/ |