summaryrefslogtreecommitdiffstats
path: root/meta/lib/patchtest/selftest/files/TestMetadata.test_cve_check_ignore.pass
blob: 10f942a6ebf6f892c6f99894a5e3b988ed3f5866 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 7d4d3fee0c7111830ee9b2b049ae3ce265b26030 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simone=20Wei=C3=9F?= <simone.p.weiss@posteo.com>
Date: Sat, 10 Feb 2024 13:23:56 +0100
Subject: [PATCH] selftest-hello: add CVE_STATUS
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This should pass the test_cve_tag_format selftest.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
---
 .../recipes-test/selftest-hello/selftest-hello_1.0.bb         | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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
index 547587bef4..9908b3b417 100644
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
@@ -16,4 +16,6 @@ do_install() {
 	install -m 0755 helloworld ${D}${bindir}
 }
 
-BBCLASSEXTEND = "native nativesdk"
\ No newline at end of file
+CVE_STATUS[CVE-2024-12345] = "not-applicable-platform: Issue only applies on Windows"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.39.2