[elbe-devel] [PATCH v2 06/10] tests: simple-arm64.xml: use /vmlinux and /initrd.img links as artifacts

Torben Hohn torben.hohn at linutronix.de
Fri May 7 08:51:22 CEST 2021


The actual names of the vmlinuz and initrd.img files include
version numbers, and change over time. This results in continuous
failures of the tests.

The artifact code will follow symlinks. So just use the automatically
generated links as the artifact.

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 tests/simple-arm64.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/simple-arm64.xml b/tests/simple-arm64.xml
index 245627920..1ad02c9c9 100644
--- a/tests/simple-arm64.xml
+++ b/tests/simple-arm64.xml
@@ -63,8 +63,8 @@
 				192.168.0.165  mydomain  mydomain-host
 			</file>
 			<cp path="/etc/bash.bashrc">/root/.bashrc</cp>
-			<artifact>/boot/vmlinuz-4.19.0-14-arm64</artifact>
-			<artifact>/boot/initrd.img-4.19.0-14-arm64</artifact>
+			<artifact>/vmlinuz</artifact>
+			<artifact>/initrd.img</artifact>
 		</finetuning>
 
 		<project-finetuning>
@@ -74,7 +74,7 @@
 		<check>
 			<img>sda.img.tar.gz</img>
 			<interpreter>qemu-system-aarch64</interpreter>
-			<interpreter-opts>-m 2G -M virt -drive format=raw,file=$ELBE_IMG,id=hd1,if=none -device virtio-blk-pci,drive=hd1 -kernel vmlinuz-4.19.0-14-arm64 -initrd initrd.img-4.19.0-14-arm64 -cpu cortex-a53 -append "root=/dev/vda1" -nographic</interpreter-opts>
+			<interpreter-opts>-m 2G -M virt -drive format=raw,file=$ELBE_IMG,id=hd1,if=none -device virtio-blk-pci,drive=hd1 -kernel vmlinuz -initrd initrd.img -cpu cortex-a53 -append "root=/dev/vda1" -nographic</interpreter-opts>
 			<action> <login /> </action>
 		</check>
 	</check-image-list>
-- 
2.20.1



More information about the elbe-devel mailing list