From 24bf6fc243833e0c678317f0144a77397d80e14a Mon Sep 17 00:00:00 2001 From: Ygal Blum Date: Wed, 19 Jul 2023 11:49:54 +0300 Subject: [PATCH] Quadlet system test - do not rely on journalctl in kube file tests Signed-off-by: Ygal Blum --- test/system/252-quadlet.bats | 48 ++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 18 deletions(-) diff --git a/test/system/252-quadlet.bats b/test/system/252-quadlet.bats index d4badd194a..ecf43ef5f8 100644 --- a/test/system/252-quadlet.bats +++ b/test/system/252-quadlet.bats @@ -517,6 +517,8 @@ EOF @test "quadlet kube - basic" { # Create the YAMl file + pod_name="test_pod" + container_name="test" yaml_source="$PODMAN_TMPDIR/basic_$(random_string).yaml" cat >$yaml_source <$yaml_source < $quadlet_file <