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

Bastian Germann bage at linutronix.de
Fri May 7 10:31:27 CEST 2021


Am 06.05.21 um 14:55 schrieb Torben Hohn:
> 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>
> 


More information about the elbe-devel mailing list