mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 13:11:26 +00:00
Current modularity test script requires python3-yaml
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
d06b30e8dc
commit
d9816b0ddb
@ -651,6 +651,8 @@ sub download_modularity_tests {
|
|||||||
# Download the modularity test script, place in the system and then
|
# Download the modularity test script, place in the system and then
|
||||||
# modify the access rights to make it executable.
|
# modify the access rights to make it executable.
|
||||||
my ($whitelist) = @_;
|
my ($whitelist) = @_;
|
||||||
|
# we need python3-yaml for the script to run
|
||||||
|
assert_script_run 'dnf -y install python3-yaml', 180;
|
||||||
assert_script_run 'curl -o /root/test.py https://pagure.io/fedora-qa/modularity_testing_scripts/raw/master/f/modular_functions.py';
|
assert_script_run 'curl -o /root/test.py https://pagure.io/fedora-qa/modularity_testing_scripts/raw/master/f/modular_functions.py';
|
||||||
if ($whitelist eq 'whitelist') {
|
if ($whitelist eq 'whitelist') {
|
||||||
assert_script_run 'curl -o /root/whitelist https://pagure.io/fedora-qa/modularity_testing_scripts/raw/master/f/whitelist';
|
assert_script_run 'curl -o /root/whitelist https://pagure.io/fedora-qa/modularity_testing_scripts/raw/master/f/whitelist';
|
||||||
|
Loading…
Reference in New Issue
Block a user