From: Tycho Andersen Date: Fri, 12 Sep 2014 20:56:08 +0000 (-0500) Subject: tests: require criu >= 1.3.1 for criu test X-Git-Tag: lxc-1.1.0.alpha2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d48d22299d4fc5635f289e4a34967e6cd99cd743;p=thirdparty%2Flxc.git tests: require criu >= 1.3.1 for criu test CRIU 1.3 has a pretty crippling deadlock which will cause dumping containers to fail fairly often. This is fixed in criu 1.3.1, so we shouldn't run the tests on anything less than that. Signed-off-by: Tycho Andersen Acked-by: Serge E. Hallyn --- diff --git a/src/tests/lxc-test-checkpoint-restore b/src/tests/lxc-test-checkpoint-restore index c25d941e2..181b693ba 100755 --- a/src/tests/lxc-test-checkpoint-restore +++ b/src/tests/lxc-test-checkpoint-restore @@ -21,7 +21,7 @@ verlte() { criu_version="$(criu --version | head -n1 | cut -d' ' -f 2)" -if verlte "$criu_version" "1.3"; then +if verlte "$criu_version" "1.3.1"; then echo "SKIP: skipping test because no (or wrong) criu installed." exit 0 fi