summaryrefslogtreecommitdiff
path: root/tests/libgit2/diff/workdir.c
Commit message (Collapse)AuthorAgeFilesLines
* diff_file: don't mmap/readbuffer empty filesIliyas Jorio2023-02-131-0/+36
| | | | This prevents GIT_MMAP_VALIDATE from failing. This also prevents git_diff_file_content__unload from attempting to free git_str__initstr.
* sha256: indirection for experimental functionsEdward Thomson2022-07-131-5/+5
| | | | | The experimental function signature is only available when `GIT_EXPERIMENTAL_SHA256` is enabled.
* oid: give oids a typeEdward Thomson2022-06-201-5/+5
| | | | | `git_oid`s now have a type, and we require the oid type when creating the object id from creation functions.
* tests: support flaky statEdward Thomson2022-04-061-7/+5
| | | | | The 32-bit ARM QEMU builds are flaky when running `lstat`. Disable those testing `lstat`'s `st_size` temporarily.
* diff: don't stat empty file on arm32 (flaky test)Edward Thomson2022-04-041-4/+8
| | | | | | | Our CI test infrastructure virtualizes arm32 in docker, which is a sometimes imperfect situation. In `diff::workdir::can_diff_empty_file`, avoid the stat to ensure that the file is zero bytes; there is an odd issue running in qemu when emulating arm32 that we should skip.
* refactor: `tests` is now `tests/libgit2`Edward Thomson2022-02-221-0/+2242
Like we want to separate libgit2 and utility source code, we want to separate libgit2 and utility tests. Start by moving all the tests into libgit2.