summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-03-18 22:52:55 +0100
committerGitHub <noreply@github.com>2022-03-18 22:52:55 +0100
commitc2eae35c606382418c6e2ce57c4ab874f1975f21 (patch)
tree01eb959a9ab2f489385b24d509aad2d61735417d /test/e2e
parent8ebb94f2ced7fb8fa60ae0b53522cc6d9d6d0240 (diff)
parent57cdc21b0057e958d78e8e616e26d7231193d991 (diff)
downloadpodman-c2eae35c606382418c6e2ce57c4ab874f1975f21.tar.gz
podman-c2eae35c606382418c6e2ce57c4ab874f1975f21.tar.bz2
podman-c2eae35c606382418c6e2ce57c4ab874f1975f21.zip
Merge pull request #13554 from vrothberg/vendor-common
vendor c/common@0ededd18a1f9
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/login_logout_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/e2e/login_logout_test.go b/test/e2e/login_logout_test.go
index 1280b3e83..77549a9a8 100644
--- a/test/e2e/login_logout_test.go
+++ b/test/e2e/login_logout_test.go
@@ -417,12 +417,12 @@ var _ = Describe("Podman login and logout", func() {
Expect(authInfo).NotTo(HaveKey(testRepos[1]))
})
- It("podman login with repository invalid arguments", func() {
+ It("podman login with http{s} prefix", func() {
authFile := filepath.Join(podmanTest.TempDir, "auth.json")
for _, invalidArg := range []string{
"https://" + server + "/podmantest",
- server + "/podmantest/image:latest",
+ "http://" + server + "/podmantest/image:latest",
} {
session := podmanTest.Podman([]string{
"login",
@@ -432,7 +432,7 @@ var _ = Describe("Podman login and logout", func() {
invalidArg,
})
session.WaitWithDefaultTimeout()
- Expect(session).Should(ExitWithError())
+ Expect(session).To(Exit(0))
}
})