2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00
Files
criu/test/jenkins/criu-lazy-common.sh
Mike Rapoport 114af54fe8 jenkins: lazy-pages: exclude maps04
On loaded systems running maps04 with lazy-pages takes too much time. The
same functionality is anyway covered by other tests so excluding  maps04
shouldn't decrease the test coverage.

Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
2018-10-30 19:28:18 +03:00

12 lines
388 B
Bash

KERN_MAJ=`uname -r | cut -d. -f1`
KERN_MIN=`uname -r | cut -d. -f2`
if [ $KERN_MAJ -ge "4" ] && [ $KERN_MIN -ge "11" ]; then
LAZY_EXCLUDE="-x cmdlinenv00 -x maps007"
else
LAZY_EXCLUDE="-x maps007 -x fork -x fork2 -x uffd-events -x cgroupns
-x socket_listen -x socket_listen6 -x cmdlinenv00
-x socket_close_data01 -x file_read"
fi
LAZY_EXCLUDE="$LAZY_EXCLUDE -x maps04"