mirror of
https://github.com/containers/podman.git
synced 2025-06-26 04:46:57 +08:00
tests: fix "Storing signatures" check
After[1] c/image no longer prints "Storing signatures" so we should not check for it. [1] https://github.com/containers/image/pull/2001 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -451,7 +451,6 @@ RUN touch /file
|
||||
Expect(output).To(ContainSubstring("Copying blob "))
|
||||
Expect(output).To(ContainSubstring("Copying config "))
|
||||
Expect(output).To(ContainSubstring("Writing manifest to image destination"))
|
||||
Expect(output).To(ContainSubstring("Storing signatures"))
|
||||
|
||||
push = podmanTest.Podman([]string{"manifest", "push", "--compression-format=gzip", "--compression-level=2", "--tls-verify=false", "--creds=podmantest:wrongpasswd", "foo", "localhost:" + registry.Port + "/credstest"})
|
||||
push.WaitWithDefaultTimeout()
|
||||
|
@ -114,7 +114,6 @@ var _ = Describe("Podman push", func() {
|
||||
Expect(output).To(ContainSubstring("Copying blob "))
|
||||
Expect(output).To(ContainSubstring("Copying config "))
|
||||
Expect(output).To(ContainSubstring("Writing manifest to image destination"))
|
||||
Expect(output).To(ContainSubstring("Storing signatures"))
|
||||
|
||||
bitSize := 1024
|
||||
keyFileName := filepath.Join(podmanTest.TempDir, "key")
|
||||
|
@ -321,7 +321,7 @@ Deleted: $pauseID"
|
||||
# Without -q: verbose output, but only on podman-local, not remote
|
||||
run_podman commit my-container --format docker -m comment my-test-image1
|
||||
if ! is_remote; then
|
||||
assert "$output" =~ "Getting image.*Writing manif.*Storing signatu" \
|
||||
assert "$output" =~ "Getting image.*Writing manif" \
|
||||
"Without -q, verbose output"
|
||||
fi
|
||||
|
||||
|
@ -116,7 +116,7 @@ verify_iid_and_name() {
|
||||
|
||||
# Copy it there.
|
||||
run_podman image scp $newname ${notme}@localhost::
|
||||
is "$output" "Copying blob .*Copying config.*Writing manifest.*Storing signatures"
|
||||
is "$output" "Copying blob .*Copying config.*Writing manifest"
|
||||
|
||||
# confirm that image was copied. FIXME: also try $PODMAN image inspect?
|
||||
_sudo $PODMAN image exists $newname
|
||||
|
Reference in New Issue
Block a user