diff options
| author | Vicent Martà <vicent@github.com> | 2012-06-08 11:36:49 -0700 |
|---|---|---|
| committer | Vicent Martà <vicent@github.com> | 2012-06-08 11:36:49 -0700 |
| commit | 80c03754ae57ad387a6c02a5e58a59a327d44638 (patch) | |
| tree | 7bdfbb76e18a6e9c89684942dbd6daef0e38feae /tests-clar/clar_libgit2.h | |
| parent | 3f0358604e48432b53abf097aa3ab6a1e3639813 (diff) | |
| parent | e272efcb20332ed36a6316c4152f50f9dbcf2a00 (diff) | |
| download | libgit2-80c03754ae57ad387a6c02a5e58a59a327d44638.tar.gz | |
Merge pull request #757 from benstraub/development
Tests: wrap 'getenv' and friends for Win32 tests.
Diffstat (limited to 'tests-clar/clar_libgit2.h')
| -rw-r--r-- | tests-clar/clar_libgit2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests-clar/clar_libgit2.h b/tests-clar/clar_libgit2.h index d250494f5..aa613b2c4 100644 --- a/tests-clar/clar_libgit2.h +++ b/tests-clar/clar_libgit2.h @@ -40,6 +40,10 @@ void cl_git_append2file(const char *filename, const char *new_content); void cl_git_rewritefile(const char *filename, const char *new_content); void cl_git_write2file(const char *filename, const char *new_content, int mode); +/* Environment wrappers */ +char *cl_getenv(const char *name); +int cl_setenv(const char *name, const char *value); + /* Git sandbox setup helpers */ git_repository *cl_git_sandbox_init(const char *sandbox); |
