summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <[email protected]>2017-03-28 18:00:39 +0200
committerAndres Gomez <[email protected]>2017-03-29 19:14:25 +0300
commit2f86b7398a646dc95748cc314edb2ba0e3d25ef7 (patch)
tree724489a38b4f4a2d5b4fe96f9d1215507f2a19a5 /src/compiler
parentdc01cb9c5f38d6cdbb583ba70db5e51cc8901236 (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]> (cherry picked from commit caa616ccc4384ea1479865e12b56cf816561a827)
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/glsl/tests/cache_test.c2
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 0ef05aacb26..efe4a9bce3a 100644
--- a/src/compiler/glsl/tests/cache_test.c
+++ b/src/compiler/glsl/tests/cache_test.c
@@ -111,7 +111,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);
}
#define CACHE_TEST_TMP "./cache-test-tmp"