aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-04-27 01:55:14 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-04-27 01:55:14 -0400
commit4d3edd67c28116bdd337f5b3b2f456329a269bdb (patch)
treeea2c8f071300d5285bf2a6e7cd68a9efcf03d4b1 /tests
parent6df309db7afa3f2c44d5f7069534484da7523cfd (diff)
downloadstasis-4d3edd67c28116bdd337f5b3b2f456329a269bdb.tar.gz
pkg_index_provides: Add logdir argument
* mkdirs() the logdir
Diffstat (limited to 'tests')
-rw-r--r--tests/test_conda.c4
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");
}