From: Zbigniew Jędrzejewski-Szmek Date: Thu, 4 Apr 2024 11:25:41 +0000 (+0200) Subject: TEST-50: add tests for riscv{32,64} X-Git-Tag: v256-rc1~306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdba129b71a0ab208653e75a932aa0b7ef191a47;p=thirdparty%2Fsystemd.git TEST-50: add tests for riscv{32,64} Requested for the testing of F40 riscv bringup. Numbers copied from https://uapi-group.org/specifications/specs/discoverable_partitions_specification/. It'd be nice to do the same in TEST-58, but the code there is rather involved and I don't have a system to test on. We can probably try that later on when F40 is available. --- diff --git a/test/units/testsuite-50.sh b/test/units/testsuite-50.sh index 7c4a9db96d0..cd2d6aa7f7f 100755 --- a/test/units/testsuite-50.sh +++ b/test/units/testsuite-50.sh @@ -152,16 +152,16 @@ elif [ "${machine}" = "arm" ]; then verity_guid=7386cdf2-203c-47a9-a498-f2ecce45a2d6 signature_guid=42b0455f-eb11-491d-98d3-56145ba9d037 architecture="arm" -elif [ "${machine}" = "loongarch64" ]; then - root_guid=77055800-792c-4f94-b39a-98c91b762bb6 - verity_guid=f3393b22-e9af-4613-a948-9d3bfbd0c535 - signature_guid=5afb67eb-ecc8-4f85-ae8e-ac1e7c50e7d0 - architecture="loongarch64" elif [ "${machine}" = "ia64" ]; then root_guid=993d8d3d-f80e-4225-855a-9daf8ed7ea97 verity_guid=86ed10d5-b607-45bb-8957-d350f23d0571 signature_guid=e98b36ee-32ba-4882-9b12-0ce14655f46a architecture="ia64" +elif [ "${machine}" = "loongarch64" ]; then + root_guid=77055800-792c-4f94-b39a-98c91b762bb6 + verity_guid=f3393b22-e9af-4613-a948-9d3bfbd0c535 + signature_guid=5afb67eb-ecc8-4f85-ae8e-ac1e7c50e7d0 + architecture="loongarch64" elif [ "${machine}" = "s390x" ]; then root_guid=5eead9a9-fe09-4a1e-a1d7-520d00531306 verity_guid=b325bfbe-c7be-4ab8-8357-139e652d2f6b @@ -172,6 +172,16 @@ elif [ "${machine}" = "ppc64le" ]; then verity_guid=906bd944-4589-4aae-a4e4-dd983917446a signature_guid=d4a236e7-e873-4c07-bf1d-bf6cf7f1c3c6 architecture="ppc64-le" +elif [ "${machine}" = "riscv64" ]; then + root_guid=72ec70a6-cf74-40e6-bd49-4bda08e8f224 + verity_guid=b6ed5582-440b-4209-b8da-5ff7c419ea3d + signature_guid=efe0f087-ea8d-4469-821a-4c2a96a8386a + architecture="riscv64" +elif [ "${machine}" = "riscv32" ]; then + root_guid=60d5a7fe-8e7d-435c-b714-3dd8162144e1 + verity_guid=ae0253be-1167-4007-ac68-43926c14c5de + signature_guid=3a112a75-8729-4380-b4cf-764d79934448 + architecture="riscv32" else echo "Unexpected uname -m: ${machine} in testsuite-50.sh, please fix me" exit 1