[LTP] [PATCH] syscalls/madvise06: Add check for /proc/sys/vm/stat_refresh file

Cyril Hrubis chrubis@suse.cz
Mon Dec 7 17:33:40 CET 2020


Hi!
> On older kernel(ie centos 7.8ga), when we write 1 to /proc/sys/vm/stat_refresh,
> it failed to write because this file[1] was not introdued into centos7 kernel.
> It triggers a warnging. So do_exit() in tst_test.c will report TWARN(4) to ltp-pan and
> ltp-pan think this case failed.

I've rewrote this description since I found it too confusing and pushed
the patch, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list