diff options
author | Juan A. Suarez Romero <[email protected]> | 2017-03-28 18:00:39 +0200 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2017-03-28 18:00:39 +0200 |
commit | caa616ccc4384ea1479865e12b56cf816561a827 (patch) | |
tree | 355e5bb1879becaa2174990291d30418044d39ab /src/compiler/glsl/tests | |
parent | 0f9a0cb5f55b432f58c9adbb9b1c63c748d1dfd0 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/compiler/glsl/tests')
-rw-r--r-- | src/compiler/glsl/tests/cache_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/tests/cache_test.c b/src/compiler/glsl/tests/cache_test.c index 537a81bc764..bec1d240e92 100644 --- a/src/compiler/glsl/tests/cache_test.c +++ b/src/compiler/glsl/tests/cache_test.c @@ -124,7 +124,7 @@ rmrf_local(const char *path) if (path == NULL || *path == '\0' || *path != '.') return -1; - return nftw(path, remove_entry, 64, FTW_DEPTH | FTW_PHYS | FTW_MOUNT); + return nftw(path, remove_entry, 64, FTW_DEPTH | FTW_PHYS); } static void |