mirror of https://github.com/docker/docs.git
Add "notary lookup" to the integration tests.
Signed-off-by: Ying Li <ying.li@docker.com> Signed-off-by: David Lawrence <david.lawrence@docker.com> Signed-off-by: Ying Li <ying.li@docker.com> (github: endophage)
This commit is contained in:
parent
ef1d5caa1a
commit
9a01cf091d
|
|
@ -118,6 +118,11 @@ func TestClientTufInteraction(t *testing.T) {
|
|||
assert.NoError(t, err)
|
||||
assert.True(t, strings.Contains(string(output), target))
|
||||
|
||||
// lookup target and repo - see target
|
||||
output, err = runCommand(t, tempDir, "-s", server.URL, "lookup", "gun", target)
|
||||
assert.NoError(t, err)
|
||||
assert.True(t, strings.Contains(string(output), target))
|
||||
|
||||
// verify repo - empty file
|
||||
output, err = runCommand(t, tempDir, "verify", "gun", target)
|
||||
assert.NoError(t, err)
|
||||
|
|
|
|||
Loading…
Reference in New Issue