[elbe-devel] [PATCH v5 2/7] elbepack: tests: cyclonedx: add example for cyclonedx unittest

Eduard Krein eduard.krein at linutronix.de
Mon Jul 1 17:01:14 CEST 2024


Add example project which will serve as base for the cyclonedx unittest.

Signed-off-by: Eduard Krein <eduard.krein at linutronix.de>
---
 elbepack/tests/cyclonedx/example.xml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 elbepack/tests/cyclonedx/example.xml

diff --git a/elbepack/tests/cyclonedx/example.xml b/elbepack/tests/cyclonedx/example.xml
new file mode 100644
index 00000000..19386a31
--- /dev/null
+++ b/elbepack/tests/cyclonedx/example.xml
@@ -0,0 +1,28 @@
+<ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe"
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        created="2009-05-20T08:50:56" revision="6"
+        xsi:schemaLocation="https://www.linutronix.de/projects/Elbe dbsfed.xsd">
+        <project>
+                <name>cyclonedx-example</name>
+                <version>1</version>
+                <description>example for generation of cyclonedx sboms</description>
+                <buildtype>amd64</buildtype>
+                <mirror>
+                        <primary_host>deb.debian.org</primary_host>
+                        <primary_path>/debian</primary_path>
+                        <primary_proto>http</primary_proto>
+                </mirror>
+                <suite>bookworm</suite>
+        </project>
+        <target>
+                <hostname>cyclonedx-example</hostname>
+                <domain>tec.linutronix.de</domain>
+                <passwd>foo</passwd>
+                <console>ttyS0,115200</console>
+                <finetuning>
+                </finetuning>
+                <pkg-list>
+                        <pkg>bash</pkg>
+                </pkg-list>
+        </target>
+</ns0:RootFileSystem>
-- 
2.39.2



More information about the elbe-devel mailing list