From e9c6cd1559bedbb616ce7691bb6dc7cd3e7aa906 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Wed, 5 Jun 2024 17:45:30 +0200 Subject: [PATCH] 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 --- test/system/030-run.bats | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/system/030-run.bats b/test/system/030-run.bats index 9049a74fad..9c38961dff 100644 --- a/test/system/030-run.bats +++ b/test/system/030-run.bats @@ -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" {