[CRIU] [PATCH] zdtm: increase the upstream kernel version

Andrey Vagin avagin at openvz.org
Tue Sep 3 06:42:35 EDT 2013


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 at openvz.org>
---
 test/zdtm.sh | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/test/zdtm.sh b/test/zdtm.sh
index b3d4254..047c2a8 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -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;
 }
-- 
1.8.3.1



More information about the CRIU mailing list