diff options
author | Paul Holzinger <pholzing@redhat.com> | 2022-04-27 18:44:02 +0200 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2022-05-03 13:44:39 -0400 |
commit | c441a1756bc4dbad074f36690e79cd40480dc2a6 (patch) | |
tree | 8d0517927609c2fc5cf8fd14f8f9ef1edbd6686d /test/e2e/libpod_suite_remote_test.go | |
parent | fb14171cba46f331fd9b25efed36c25b6b7ebcea (diff) | |
download | podman-c441a1756bc4dbad074f36690e79cd40480dc2a6.tar.gz podman-c441a1756bc4dbad074f36690e79cd40480dc2a6.tar.bz2 podman-c441a1756bc4dbad074f36690e79cd40480dc2a6.zip |
fix broken hooks-dir test
The test has been broken since it was added 4 years ago. Instead of
using hardcoded paths we should use tmp files.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'test/e2e/libpod_suite_remote_test.go')
-rw-r--r-- | test/e2e/libpod_suite_remote_test.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/e2e/libpod_suite_remote_test.go b/test/e2e/libpod_suite_remote_test.go index 8357246a5..19affbc6d 100644 --- a/test/e2e/libpod_suite_remote_test.go +++ b/test/e2e/libpod_suite_remote_test.go @@ -138,9 +138,6 @@ func getRemoteOptions(p *PodmanTestIntegration, args []string) []string { networkDir := p.NetworkConfigDir podmanOptions := strings.Split(fmt.Sprintf("--root %s --runroot %s --runtime %s --conmon %s --network-config-dir %s --cgroup-manager %s", p.Root, p.RunRoot, p.OCIRuntime, p.ConmonBinary, networkDir, p.CgroupManager), " ") - if os.Getenv("HOOK_OPTION") != "" { - podmanOptions = append(podmanOptions, os.Getenv("HOOK_OPTION")) - } if p.NetworkBackend.ToString() == "netavark" { podmanOptions = append(podmanOptions, "--network-backend", "netavark") } |