mirror of
https://github.com/containers/podman.git
synced 2025-12-02 02:58:03 +08:00
test/system: fix podman --authfile=nonexistent-path
Remove leaking containers and remove unessesary push/pull args. For push it tries to push an image as argument which makes no sense and for pull we try to pull argument as image which is also wrong. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@@ -1313,9 +1313,9 @@ kube play | argument |
|
||||
logout | $IMAGE |
|
||||
manifest add | $IMAGE argument |
|
||||
manifest inspect | $IMAGE |
|
||||
manifest push | $IMAGE argument |
|
||||
pull | $IMAGE argument |
|
||||
push | $IMAGE argument |
|
||||
manifest push | $IMAGE |
|
||||
pull | $IMAGE |
|
||||
push | $IMAGE |
|
||||
run | $IMAGE false |
|
||||
search | $IMAGE |
|
||||
"
|
||||
@@ -1346,6 +1346,9 @@ search | $IMAGE |
|
||||
"$command REGISTRY_AUTH_FILE=nonexistent-path"
|
||||
fi
|
||||
done < <(parse_table "$tests")
|
||||
|
||||
# test cases above create two containers
|
||||
run_podman rm -fa
|
||||
}
|
||||
|
||||
@test "podman --syslog and environment passed to conmon" {
|
||||
|
||||
Reference in New Issue
Block a user