diff options
author | Mike Rapoport <rppt@linux.ibm.com> | 2019-02-05 21:54:39 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2019-04-21 06:25:26 +0300 |
commit | d416c78d71a159bad039d8349f0043b7fd33a570 (patch) | |
tree | 60e5e6d158dedb1160d800213dfcbfd5a5ee9bbb /scripts/travis | |
parent | f487c965d441809da1f28b0337ec350d7bfb119e (diff) |
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: Mike Rapoport <rppt@linux.ibm.com>
Diffstat (limited to 'scripts/travis')
-rwxr-xr-x | scripts/travis/travis-tests | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/travis/travis-tests b/scripts/travis/travis-tests index aaa208c14..5a8884f07 100755 --- a/scripts/travis/travis-tests +++ b/scripts/travis/travis-tests @@ -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 |