diff options
author | Miloslav Trmač <mitr@redhat.com> | 2018-07-18 21:11:10 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-07-26 20:47:31 +0000 |
commit | c1424095983992f56ffa50e79c0139cef8893f6d (patch) | |
tree | fef96dedee05247e174e43c7cbef6269c778372d /cmd/podman/pod_create.go | |
parent | 2322f272c4ee9fb4f38aff2f6442b0d9f9ce1ad1 (diff) | |
download | podman-c1424095983992f56ffa50e79c0139cef8893f6d.tar.gz podman-c1424095983992f56ffa50e79c0139cef8893f6d.tar.bz2 podman-c1424095983992f56ffa50e79c0139cef8893f6d.zip |
Skip seccomp-dependent tests on non-Linux
Currently, getRuntimeSpec always fails on non-Linux because
spec.CreateConfigToOCISpec always fails, because the podman CLI
sets up a seccomp path, and processing that on non-Linux is not supported. This
breaks testing of entirely unrelated options.
We can either skip the tests on non-Linux, or explicitly disable seccomp
inside the tests. Linux testing matters much more than other platforms,
and the tests are more reliable when they don't change supposedly
unrelated options; so, skip the tests on non-Linux.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Closes: #1115
Approved by: rhatdan
Diffstat (limited to 'cmd/podman/pod_create.go')
0 files changed, 0 insertions, 0 deletions