mirror of
https://github.com/containers/skopeo.git
synced 2025-04-28 03:10:18 +00:00
Fix TestCopyAtomicExtension
Actually test that X-R-S-S signatures are usable using atomic:, as the comment says. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
parent
b230a507e7
commit
02407d98a5
@ -1055,7 +1055,7 @@ func (s *CopySuite) TestCopyAtomicExtension(c *check.C) {
|
||||
|
||||
// Get another image (different so that they don't share signatures, and sign it using docker://)
|
||||
assertSkopeoSucceeds(c, "", "--tls-verify=false", "--registries.d", registriesDir,
|
||||
"copy", "--sign-by", "personal@example.com", "docker://estesp/busybox:ppc64le", "atomic:localhost:5000/myns/extension:extension")
|
||||
"copy", "--sign-by", "personal@example.com", "docker://estesp/busybox:ppc64le", "docker://localhost:5000/myns/extension:extension")
|
||||
c.Logf("%s", combinedOutputOfCommand(c, "oc", "get", "istag", "extension:extension", "-o", "json"))
|
||||
// Pulling the image using atomic: succeeds.
|
||||
assertSkopeoSucceeds(c, "", "--debug", "--tls-verify=false", "--policy", policy,
|
||||
|
Loading…
Reference in New Issue
Block a user