Add runc.v2 multi-shim

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2019-02-08 15:01:15 -05:00
parent 6bcbf88f82
commit 84a24711e8
22 changed files with 984 additions and 98 deletions

View File

@@ -32,6 +32,7 @@ import (
"github.com/containerd/containerd/cio"
"github.com/containerd/containerd/oci"
"github.com/containerd/containerd/plugin"
)
const (
@@ -47,7 +48,7 @@ func TestCheckpointRestorePTY(t *testing.T) {
t.Fatal(err)
}
defer client.Close()
if client.runtime == v1runtime {
if client.runtime == plugin.RuntimeLinuxV1 {
t.Skip()
}
@@ -173,7 +174,7 @@ func TestCheckpointRestore(t *testing.T) {
t.Fatal(err)
}
defer client.Close()
if client.runtime == v1runtime {
if client.runtime == plugin.RuntimeLinuxV1 {
t.Skip()
}
@@ -263,7 +264,7 @@ func TestCheckpointRestoreNewContainer(t *testing.T) {
t.Fatal(err)
}
defer client.Close()
if client.runtime == v1runtime {
if client.runtime == plugin.RuntimeLinuxV1 {
t.Skip()
}
@@ -353,7 +354,7 @@ func TestCheckpointLeaveRunning(t *testing.T) {
t.Fatal(err)
}
defer client.Close()
if client.runtime == v1runtime {
if client.runtime == plugin.RuntimeLinuxV1 {
t.Skip()
}