]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
tests: require criu >= 1.3.1 for criu test
authorTycho Andersen <tycho.andersen@canonical.com>
Fri, 12 Sep 2014 20:56:08 +0000 (15:56 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 19 Sep 2014 21:06:44 +0000 (17:06 -0400)
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@canonical.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/tests/lxc-test-checkpoint-restore

index c25d941e27e68003be9c0dc9ec88600fe1e46a61..181b693baf5fcd2dd36f51930d2ac5e017cbd4f1 100755 (executable)
@@ -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