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:
Paul Holzinger
2024-06-05 17:45:30 +02:00
parent afe55cded0
commit e9c6cd1559

View File

@@ -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" {