podman/pkg/bindings/test
Ed Santiago 6a696cb8fd podman-registry: simpler, safer invocations
First: fix podman-registry script so it preserves the initial $PODMAN,
so all subsequent invocations of ps, logs, and stop will use the
same binary and arguments. Until now we've handled this by requiring
that our caller manage $PODMAN (and keep it the same), but that's
just wrong.

Next, simplify the golang interface: move the $PODMAN setting into
registry.go, instead of requiring e2e callers to set it. (This
could use some work: the local/remote conditional is icky).

IMPORTANT: To prevent registry.go from using the wrong podman binary,
the Start() call is gone. Only StartWithOptions() is valid now.

And, minor cleanup: comments, and add an actual error-message check

Reason for this PR is a recurring flake, #18355, whose multiple
failure modes I truly can't understand. I don't think this PR
is going to fix it, but this is still necessary work.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-06-07 12:16:18 -06:00
..
fixture Add guard for BuildOptions.CommonBuildOpts 2021-09-30 14:30:06 -07:00
attach_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00
auth_test.go podman-registry: simpler, safer invocations 2023-06-07 12:16:18 -06:00
common_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00
connection_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00
containers_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00
create_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00
exec_test.go remote: exec inspect update exec session status 2023-05-03 14:54:00 +02:00
generator_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00
images_test.go podman-registry: simpler, safer invocations 2023-06-07 12:16:18 -06:00
info_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00
manifests_test.go podman-registry: simpler, safer invocations 2023-06-07 12:16:18 -06:00
networks_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00
pods_test.go source code comments and docs: fix typos, language, Markdown layout 2023-05-22 07:52:16 +02:00
resource_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00
secrets_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00
system_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00
test_suite_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00
types_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00
volumes_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00