diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-04-27 01:55:14 -0400 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-04-27 01:55:14 -0400 |
| commit | 4d3edd67c28116bdd337f5b3b2f456329a269bdb (patch) | |
| tree | ea2c8f071300d5285bf2a6e7cd68a9efcf03d4b1 /tests/test_conda.c | |
| parent | 6df309db7afa3f2c44d5f7069534484da7523cfd (diff) | |
| download | stasis-4d3edd67c28116bdd337f5b3b2f456329a269bdb.tar.gz | |
pkg_index_provides: Add logdir argument
* mkdirs() the logdir
Diffstat (limited to 'tests/test_conda.c')
| -rw-r--r-- | tests/test_conda.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_conda.c b/tests/test_conda.c index 9f0e718..242d398 100644 --- a/tests/test_conda.c +++ b/tests/test_conda.c @@ -143,7 +143,7 @@ void test_pip_index_provides() { }; for (size_t i = 0; i < sizeof(tc) / sizeof(*tc); i++) { struct testcase *test = &tc[i]; - int result = pkg_index_provides(PKG_USE_PIP, test->pindex, test->name); + int result = pkg_index_provides(PKG_USE_PIP, test->pindex, test->name, "."); STASIS_ASSERT(result == test->expected, "Unexpected result"); if (PKG_INDEX_PROVIDES_FAILED(result)) { fprintf(stderr, "error: %s\n", pkg_index_provides_strerror(result)); @@ -175,7 +175,7 @@ void test_conda_provides() { for (size_t i = 0; i < sizeof(tc) / sizeof(*tc); i++) { struct testcase *test = &tc[i]; - int result = pkg_index_provides(PKG_USE_CONDA, NULL, test->name); + int result = pkg_index_provides(PKG_USE_CONDA, NULL, test->name, "."); printf("%s returned %d, expecting %d\n", test->name, result, test->expected); STASIS_ASSERT(result == test->expected, "Unexpected result"); } |
