summaryrefslogtreecommitdiff
path: root/tests/online/push_util.c
Commit message (Collapse)AuthorAgeFilesLines
* push: put the git_oid inline in the test structurecmn/push-tests-inline-oidCarlos Martín Nieto2015-09-131-8/+3
| | | | | | These are small pieces of data, so there is no advantage to allocating them separately. Include the two ids inline in the struct we use to check that the expected and actual ids match.
* push: move main test function to git_remote_push()Carlos Martín Nieto2014-11-091-0/+16
| | | | | | | We have the step-by-step method in the initialization function as we want to remove references based on the list of references which are already there, and we can use the convenience function for testing the main push.
* oid: Export `git_oid_tostr_s` instead of `_allocfmt`vmg/tostr_sVicent Marti2014-08-181-4/+2
| | | | | | The old `allocfmt` is of no use to callers, as they are not able to free the returned buffer. Export a new API that returns a static string that doesn't need to be freed.
* Rename tests-clar to testsBen Straub2013-11-141-0/+132