TestMetadata.test_cve_check_ignore.fail 1.1 KB

123456789101112131415161718192021222324252627282930
  1. From c4ca86b9cca3643097db0328e2f34dccffbba309 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Simone=20Wei=C3=9F?= <simone.p.weiss@posteo.com>
  3. Date: Sat, 10 Feb 2024 13:18:44 +0100
  4. Subject: [PATCH] selftest-hello: add CVE_CHECK_IGNORE
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. This should fail the test_cve_tag_format selftest.
  9. Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
  10. ---
  11. .../recipes-test/selftest-hello/selftest-hello_1.0.bb | 3 ++-
  12. 1 file changed, 2 insertions(+), 1 deletion(-)
  13. diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
  14. index 547587bef4..3ef9b87c34 100644
  15. --- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
  16. +++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
  17. @@ -16,4 +16,5 @@ do_install() {
  18. install -m 0755 helloworld ${D}${bindir}
  19. }
  20. -BBCLASSEXTEND = "native nativesdk"
  21. \ No newline at end of file
  22. +CVE_CHECK_IGNORE = "CVE-2024-12345"
  23. +BBCLASSEXTEND = "native nativesdk"
  24. --
  25. 2.39.2