Commit 3e7cfd11 authored by Mike Rapoport's avatar Mike Rapoport Committed by Andrei Vagin

jenkins: split common part of lazy pages tests into a separate file

Signed-off-by: 's avatarMike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@gmail.com>
parent d9c7787e
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
......@@ -3,15 +3,7 @@ set -e
source `dirname $0`/criu-lib.sh
prep
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
source `dirname $0`/criu-lazy-common.sh
# These tests seem to require complete separation of dump and restore namespaces
LAZY_MIGRATE_EXCLUDE="-x fifo_loop -x file_locks -x ptrace_sig -x overmount_file -x file_lease -x cr_veth -x fifo -x overmount_sock -x unlink_largefile -x socket_udp-corked -x netns_sub_veth"
......
......@@ -3,15 +3,7 @@ set -e
source `dirname $0`/criu-lib.sh
prep
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
source `dirname $0`/criu-lazy-common.sh
# lazy restore from images
./test/zdtm.py run --all --keep-going --report report --parallel 4 \
......
......@@ -3,15 +3,7 @@ set -e
source `dirname $0`/criu-lib.sh
prep
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
source `dirname $0`/criu-lazy-common.sh
# lazy restore from "remote" dump
./test/zdtm.py run --all --keep-going --report report --parallel 4 \
......
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