2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 13:58:34 +00:00

zdtm: increase the upstream kernel version

The kernel must be 3.11 or greater due to
29000cae ptrace: add ability to get/set signal-blocked mask (v2)

The patches for dumping tun devices are not committed in the upstream
kernel yet, so ns/static/tun is excluded.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin 2013-09-03 14:53:18 +04:00 committed by Pavel Emelyanov
parent 7097b5358a
commit fd81748a00

View File

@ -122,8 +122,7 @@ ns/static/tun
"
TEST_CR_KERNEL="
static/sigpending
static/sk-netlink
ns/static/tun
"
TEST_SUID_LIST="
@ -194,9 +193,9 @@ EOF
ver_arr=(`echo ${ver_str//./ }`)
[ "${ver_arr[0]}" -gt 3 ] && return 0
[[ "${ver_arr[0]}" -eq 3 && "${ver_arr[1]}" -ge 8 ]] && return 0
[[ "${ver_arr[0]}" -eq 3 && "${ver_arr[1]}" -ge 11 ]] && return 0
echo "A version of kernel should be greater or equal to 3.8" >&2
echo "A version of kernel should be greater or equal to 3.11" >&2
return 1;
}