Merge pull request #4399 from TBBle/wcow_compare_layers_to_tar

Implement windowsDiff.Compare to allow outputting OCI images
This commit is contained in:
Justin
2021-04-12 09:49:50 -07:00
committed by GitHub
12 changed files with 509 additions and 151 deletions

View File

@@ -20,7 +20,6 @@ import (
"archive/tar"
"bytes"
"io"
"runtime"
"testing"
. "github.com/containerd/containerd"
@@ -30,8 +29,7 @@ import (
// TestExport exports testImage as a tar stream
func TestExport(t *testing.T) {
// TODO: support windows
if testing.Short() || runtime.GOOS == "windows" {
if testing.Short() {
t.Skip()
}
ctx, cancel := testContext(t)

View File

@@ -25,7 +25,6 @@ import (
"io/ioutil"
"math/rand"
"reflect"
"runtime"
"testing"
. "github.com/containerd/containerd"
@@ -41,8 +40,7 @@ import (
// TestExportAndImport exports testImage as a tar stream,
// and import the tar stream as a new image.
func TestExportAndImport(t *testing.T) {
// TODO: support windows
if testing.Short() || runtime.GOOS == "windows" {
if testing.Short() {
t.Skip()
}
ctx, cancel := testContext(t)