TestMetadata.test_cve_check_ignore.pass 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. From 7d4d3fee0c7111830ee9b2b049ae3ce265b26030 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:23:56 +0100
  4. Subject: [PATCH] selftest-hello: add CVE_STATUS
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. This should pass 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 | 4 +++-
  12. 1 file changed, 3 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..9908b3b417 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,6 @@ do_install() {
  18. install -m 0755 helloworld ${D}${bindir}
  19. }
  20. -BBCLASSEXTEND = "native nativesdk"
  21. \ No newline at end of file
  22. +CVE_STATUS[CVE-2024-12345] = "not-applicable-platform: Issue only applies on Windows"
  23. +
  24. +BBCLASSEXTEND = "native nativesdk"
  25. --
  26. 2.39.2