summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-867253.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/bug-867253.t')
-rw-r--r--tests/bugs/bug-867253.t8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/bugs/bug-867253.t b/tests/bugs/bug-867253.t
index 47c194b4b52..bd3f6788975 100644
--- a/tests/bugs/bug-867253.t
+++ b/tests/bugs/bug-867253.t
@@ -4,6 +4,14 @@
. $(dirname $0)/../volume.rc
. $(dirname $0)/../nfs.rc
+# Skip the entire test if /proc/sys/vm/drop_caches does not exist
+if [ ! -f /proc/sys/vm/drop_caches ] ; then
+ echo "Skip test using /proc/sys/vm/drop_caches, "\
+ "which does not exists on this system" >&2
+ SKIP_TESTS
+ exit 0
+fi
+
cleanup;
function file_count()