Commit d416c78d authored by Mike Rapoport's avatar Mike Rapoport Committed by Andrei Vagin

travis: lazy-pages: exclude most tests for kernels <4.18

Although non-cooperative userfaultfd events have been merged into the Linux
kernel since 4.11 they were racy until 4.18.

Exclude "dangerous" tests for older kernels.
Signed-off-by: 's avatarMike Rapoport <rppt@linux.ibm.com>
parent f487c965
......@@ -88,7 +88,7 @@ chmod 0777 test/zdtm/transition
KERN_MAJ=`uname -r | cut -d. -f1`
KERN_MIN=`uname -r | cut -d. -f2`
if [ $KERN_MAJ -ge "4" ] && [ $KERN_MIN -ge "11" ]; then
if [ $KERN_MAJ -ge "4" ] && [ $KERN_MIN -ge "18" ]; then
LAZY_EXCLUDE="-x cmdlinenv00 -x maps007"
else
LAZY_EXCLUDE="-x maps007 -x fork -x fork2 -x uffd-events -x cgroupns
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment