[lxc-devel] [PATCH 2/2] tests: require criu >= 1.3.1 for criu test

Tycho Andersen tycho.andersen at canonical.com
Fri Sep 12 20:56:08 UTC 2014


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 <tycho.andersen at canonical.com>
---
 src/tests/lxc-test-checkpoint-restore | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tests/lxc-test-checkpoint-restore b/src/tests/lxc-test-checkpoint-restore
index c25d941..181b693 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
-- 
1.9.1



More information about the lxc-devel mailing list