Skip to content

Commit

Permalink
aarch64_cpu_sve: fix cert missing
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Zheng <[email protected]>
  • Loading branch information
dzhengfy committed Nov 14, 2024
1 parent 9f9c815 commit c4f1221
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions libvirt/tests/cfg/cpu/aarch64_cpu_sve.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
kernel_testing_dir = "${target_dir}/tools/testing"
suite_dir = "${kernel_testing_dir}/selftests/arm64/fp"
sve_exec_timeout = 240
prepare_cert_cmd = "curl -L https://certs.corp.redhat.com/certs/Current-IT-Root-CAs.pem -o /etc/pki/ca-trust/source/anchors/RH-IT-Root-CA.crt;update-ca-trust extract"
kernel_download_cmd = "cd /var/tmp && brew download-build --rpm %s && rpm2cpio %s | cpio -idm"
kernel_tar_cmd = "cd /var/tmp && tar Jxf %s --strip-components 1 -C ${target_dir}"
kernel_selftest_compile_cmd = "cd ${kernel_testing_dir}; make all -C selftests/ TARGETS=arm64"
Expand Down
3 changes: 2 additions & 1 deletion libvirt/tests/src/cpu/aarch64_cpu_sve.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,8 @@ def prepare_kernel_selftest_in_guest(session, params, test):
srpm)
kernel_tar_cmd = params.get("kernel_tar_cmd") % linux_name
kernel_selftest_compile_cmd = params.get("kernel_selftest_compile_cmd")

prepare_cert_cmd = params.get("prepare_cert_cmd")
execute_cmds(prepare_cert_cmd, session, test)
execute_cmds(kernel_download_cmd, session, test)
execute_cmds(kernel_tar_cmd, session, test)
execute_cmds(kernel_selftest_compile_cmd, session, test)
Expand Down

0 comments on commit c4f1221

Please sign in to comment.