summaryrefslogtreecommitdiff
path: root/cmd/podman/run.go
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2018-07-18 21:11:10 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-07-26 20:47:31 +0000
commitc1424095983992f56ffa50e79c0139cef8893f6d (patch)
treefef96dedee05247e174e43c7cbef6269c778372d /cmd/podman/run.go
parent2322f272c4ee9fb4f38aff2f6442b0d9f9ce1ad1 (diff)
downloadpodman-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/run.go')
0 files changed, 0 insertions, 0 deletions