summaryrefslogtreecommitdiff
path: root/test/e2e/run_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-11-22 21:09:05 +0100
committerGitHub <noreply@github.com>2019-11-22 21:09:05 +0100
commit35605c02fd9a83f09c61323942243e1a9cf1d4f1 (patch)
tree170aa38dcf46f6a14a9d2ae1ea0a9d8e6b9c47e2 /test/e2e/run_test.go
parente4b805441b84017bdd313d412a4138e4fb41f3d3 (diff)
parent8d585ccfa89e4f4e1eabf652528d3f7306af3268 (diff)
downloadpodman-35605c02fd9a83f09c61323942243e1a9cf1d4f1.tar.gz
podman-35605c02fd9a83f09c61323942243e1a9cf1d4f1.tar.bz2
podman-35605c02fd9a83f09c61323942243e1a9cf1d4f1.zip
Merge pull request #4528 from haircommander/kube-seccomp
Handle seccomp annotations in play kube
Diffstat (limited to 'test/e2e/run_test.go')
-rw-r--r--test/e2e/run_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go
index 7fc85c9ce..72547ea00 100644
--- a/test/e2e/run_test.go
+++ b/test/e2e/run_test.go
@@ -160,9 +160,9 @@ var _ = Describe("Podman run", func() {
})
It("podman run seccomp test", func() {
- jsonFile := filepath.Join(podmanTest.TempDir, "seccomp.json")
+
in := []byte(`{"defaultAction":"SCMP_ACT_ALLOW","syscalls":[{"name":"getcwd","action":"SCMP_ACT_ERRNO"}]}`)
- err := WriteJsonFile(in, jsonFile)
+ jsonFile, err := podmanTest.CreateSeccompJson(in)
if err != nil {
fmt.Println(err)
Skip("Failed to prepare seccomp.json for test.")