}
static void
-check_directories_created(char *cache_dir)
+check_directories_created(const char *cache_dir)
{
bool sub_dirs_created = false;
}
}
- expect_true(sub_dirs_created, "create timestamp and gpu ip sub dirs");
+ expect_true(sub_dirs_created, "create sub dirs");
}
#define CACHE_TEST_TMP "./cache-test-tmp"
}
static bool
-does_cache_contain(struct disk_cache *cache, cache_key key)
+does_cache_contain(struct disk_cache *cache, const cache_key key)
{
void *result;
}
static void
-wait_until_file_written(struct disk_cache *cache, cache_key key)
+wait_until_file_written(struct disk_cache *cache, const cache_key key)
{
struct timespec req;
struct timespec rem;