[elbe-devel] [PATCH 5/8] tests: adding include-check

Eduard Krein eduard.krein at linutronix.de
Thu Mar 28 14:41:06 CET 2024


Adding an include-check which tests elbes behavior
if included xmls are missing.

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

diff --git a/tests/include-check.xml b/tests/include-check.xml
new file mode 100644
index 00000000..2833420b
--- /dev/null
+++ b/tests/include-check.xml
@@ -0,0 +1,46 @@
+<!--
+SPDX-License-Identifier: 0BSD
+SPDX-FileCopyrightText: Linutronix GmbH
+-->
+<ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe"
+		    xmlns:xi="http://www.w3.org/2003/XInclude"
+		    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>i386-include-grub</name>
+		<version>1.0</version>
+		<description>for testing 32bit with grub2</description>
+		<buildtype>i386</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>
+		<xi:include href="includes/devel/fake-not-existing.xml"/>
+		<domain>elbe-rfs.org</domain>
+		<passwd>foo</passwd>
+		<console>ttyS0,115200</console>
+		<images>
+			<xi:include href="includes/devel/part.xml"/>
+		</images>
+		<fstab>
+			<bylabel>
+				<label>rfs</label>
+				<mountpoint>/</mountpoint>
+				<fs>
+					<type>ext4</type>
+					<fs-finetuning>
+						<device-command>tune2fs -i 0 {device}</device-command>
+					</fs-finetuning>
+				</fs>
+			</bylabel>
+		</fstab>
+		<xi:include href="includes/devel/finetuning.xml"/>
+		<xi:include href="includes/devel/pkglist.xml"/>
+		<xi:include href="includes/devel/project-finetuning.xml"/>
+	</target>
+</ns0:RootFileSystem>
-- 
2.39.2



More information about the elbe-devel mailing list