summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2020-07-29 16:42:40 -0400
committerMatthew Heon <mheon@redhat.com>2020-10-20 09:24:32 -0400
commit1b4933376f4e6738ff3a0c42a2e27c6d21c07e7c (patch)
treed2454fab870c9c4ae00e23d54af6049058126001 /test/e2e
parent3858fc1d019d13fe3378c129d133fd22789ac0dc (diff)
downloadpodman-1b4933376f4e6738ff3a0c42a2e27c6d21c07e7c.tar.gz
podman-1b4933376f4e6738ff3a0c42a2e27c6d21c07e7c.tar.bz2
podman-1b4933376f4e6738ff3a0c42a2e27c6d21c07e7c.zip
Add a system test to verify --runtime is preserved
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/common_test.go9
1 files changed, 1 insertions, 8 deletions
diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go
index e36c86690..226b71627 100644
--- a/test/e2e/common_test.go
+++ b/test/e2e/common_test.go
@@ -235,14 +235,7 @@ func PodmanTestCreateUtil(tempDir string, remote bool) *PodmanTestIntegration {
ociRuntime := os.Getenv("OCI_RUNTIME")
if ociRuntime == "" {
- var err error
- ociRuntime, err = exec.LookPath("crun")
- // If we cannot find the crun binary, setting to something static as we have no way
- // to return an error. The tests will fail and point out that the runc binary could
- // not be found nicely.
- if err != nil {
- ociRuntime = "/usr/bin/runc"
- }
+ ociRuntime = "crun"
}
os.Setenv("DISABLE_HC_SYSTEMD", "true")
CNIConfigDir := "/etc/cni/net.d"