From ff9d4e72b0c79afb1004d4cfaafd043b21b14346 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Fri, 13 Dec 2024 22:58:28 +0100 Subject: [PATCH] test: enable newly added test follow-up for commit 64e94efb95e099db93ee8a28735549268490190f Signed-off-by: Giuseppe Scrivano --- test/e2e/quadlet/emptyline.container | 3 +++ test/e2e/quadlet_test.go | 1 + 2 files changed, 4 insertions(+) diff --git a/test/e2e/quadlet/emptyline.container b/test/e2e/quadlet/emptyline.container index f7aba88d66..823d93ecf4 100644 --- a/test/e2e/quadlet/emptyline.container +++ b/test/e2e/quadlet/emptyline.container @@ -1,3 +1,6 @@ +## assert-failed +## assert-stderr-contains "no Image or Rootfs key specified" + [Container] Exec=true \ diff --git a/test/e2e/quadlet_test.go b/test/e2e/quadlet_test.go index d896f6433c..c0e988d2c2 100644 --- a/test/e2e/quadlet_test.go +++ b/test/e2e/quadlet_test.go @@ -1074,6 +1074,7 @@ BOGUS=foo Entry("Build - File Key relative no WD", "file-rel-no-wd.build", "converting \"file-rel-no-wd.build\": relative path in File key requires SetWorkingDirectory key to be set"), Entry("Build - Neither WorkingDirectory nor File Key", "neither-workingdirectory-nor-file.build", "converting \"neither-workingdirectory-nor-file.build\": neither SetWorkingDirectory, nor File key specified"), Entry("Build - No ImageTag Key", "no-imagetag.build", "converting \"no-imagetag.build\": no ImageTag key specified"), + Entry("emptyline.container", "emptyline.container", "converting \"emptyline.container\": no Image or Rootfs key specified"), ) DescribeTable("Running success quadlet with ServiceName test case",