From 8438fa4fec01142ad9f6943f6e0c429c64d951b7 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Tue, 26 May 2020 16:12:38 -0500 Subject: Add streaming ability to endpoint Signed-off-by: Brent Baude --- test/e2e/common_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/e2e/common_test.go') diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go index 80ee83f44..e12edad49 100644 --- a/test/e2e/common_test.go +++ b/test/e2e/common_test.go @@ -21,6 +21,7 @@ import ( "github.com/containers/storage/pkg/reexec" "github.com/containers/storage/pkg/stringid" jsoniter "github.com/json-iterator/go" + "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gexec" @@ -573,3 +574,10 @@ func (p *PodmanTestIntegration) CreateSeccompJson(in []byte) (string, error) { } return jsonFile, nil } + +func SkipIfNotFedora() { + info := GetHostDistributionInfo() + if info.Distribution != "fedora" { + ginkgo.Skip("Test can only run on Fedora") + } +} -- cgit v1.2.3-54-g00ecf