diff options
| author | Edward Thomson <ethomson@microsoft.com> | 2015-06-08 11:55:04 -0400 |
|---|---|---|
| committer | Edward Thomson <ethomson@microsoft.com> | 2015-06-22 12:00:15 -0400 |
| commit | 71686ddca660a3544c5aa6d4a34d1d06c031f4f9 (patch) | |
| tree | f22f79c9d3f2613c7838e1e6032ec99f57f0abd0 /tests/diff/diffiter.c | |
| parent | e774fa6c0b810624f42d392957c28febb94c4ac7 (diff) | |
| download | libgit2-71686ddca660a3544c5aa6d4a34d1d06c031f4f9.tar.gz | |
clar: support hierarchical test resource data
Support hierarchical test resource data, such that you can have
`tests/resources/foo/bar` and move the `bar` directory in as
a fixture.
Calling `cl_fixture_sandbox` on a path that is not directly beneath
the test resources directory succeeds, placing that directory into
the test fixture. (For example, `cl_fixture_sandbox("foo/bar")`
will sandbox the `foo/bar` directory as `bar`).
Add support for cleaning up directories created this way, by only
cleaning up the basename (in this example, `bar`) from the fixture
directory.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions
