util/cache: test simple cache put and get between instances
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 17 Sep 2021 14:51:25 +0000 (00:51 +1000)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Sep 2021 01:12:33 +0000 (01:12 +0000)
commit7188e7c87de316edd8330e9d22ffe442311d920c
tree77163461e8ded9efe31d866fc58b8c14fbed5a2e
parente043b97704f52d96ce33a688d2d2869b4aa7fad2
util/cache: test simple cache put and get between instances

To make sure we are not just using the in-memory cache index for
the single file cache, we test adding and retriving cache items
between two different cache instances.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12925>
src/util/tests/cache/cache_test.c