Permalink
Browse files

readahead02: Skip test on missing /proc/self/io

Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
  • Loading branch information...
metan-ucw committed Jan 15, 2019
1 parent a4e2fe2 commit a78e15494bfdc6be68026031ee6d7abd1e7ae9f2
Showing with 3 additions and 0 deletions.
  1. +3 −0 testcases/kernel/syscalls/readahead/readahead02.c
@@ -369,6 +369,9 @@ static void setup(void)
if (opt_fsizestr)
testfile_size = SAFE_STRTOL(opt_fsizestr, 1, INT_MAX);

if (access(PROC_IO_FNAME, F_OK))
tst_brk(TCONF, "Requires " PROC_IO_FNAME);

has_file(DROP_CACHES_FNAME, 1);
has_file(MEMINFO_FNAME, 1);

0 comments on commit a78e154

Please sign in to comment.