diff options
author | Adrian Reber <areber@redhat.com> | 2021-07-08 15:24:31 +0000 |
---|---|---|
committer | Adrian Reber <adrian@lisas.de> | 2021-07-27 16:10:44 +0200 |
commit | 92dce3e2febc752434c08574cbb394545c7fef47 (patch) | |
tree | 953df6e4037b3e242a4090e070b348054537788d /test | |
parent | b6c279be2296ce32fbb36ba39bd948f93be9bede (diff) | |
download | podman-92dce3e2febc752434c08574cbb394545c7fef47.tar.gz podman-92dce3e2febc752434c08574cbb394545c7fef47.tar.bz2 podman-92dce3e2febc752434c08574cbb394545c7fef47.zip |
Prepare CRIU version check to work with multiple versions
The upcoming commit to support checkpointing out of Pods requires CRIU
3.16. This changes the CRIU version check to support checking for
different versions.
Signed-off-by: Adrian Reber <areber@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/checkpoint_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/checkpoint_test.go b/test/e2e/checkpoint_test.go index b5bbfcd5c..cbebffe81 100644 --- a/test/e2e/checkpoint_test.go +++ b/test/e2e/checkpoint_test.go @@ -46,7 +46,7 @@ var _ = Describe("Podman checkpoint", func() { Skip("OCI runtime does not support checkpoint/restore") } - if !criu.CheckForCriu() { + if !criu.CheckForCriu(criu.MinCriuVersion) { Skip("CRIU is missing or too old.") } // Only Fedora 29 and newer has a new enough selinux-policy and |