tests/cache_test: allow crossing mount points
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Tue, 28 Mar 2017 16:00:39 +0000 (18:00 +0200)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Tue, 28 Mar 2017 16:00:39 +0000 (18:00 +0200)
commitcaa616ccc4384ea1479865e12b56cf816561a827
tree355e5bb1879becaa2174990291d30418044d39ab
parent0f9a0cb5f55b432f58c9adbb9b1c63c748d1dfd0
tests/cache_test: allow crossing mount points

When using an overlayfs system (like a Docker container), rmrf_local()
fails because part of the files to be removed are in different mount
points (layouts). And thus cache-test fails.

Letting crossing mount points is not a big problem, specially because
this is just for a test, not to be used in real code.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/tests/cache_test.c