mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-22 10:48:30 +00:00
Fix download_modularity_tests arg evaluation
Evaluating an array in scalar context gives the length of the array, not its first value... Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
25f408ea7e
commit
30102df930
@ -647,7 +647,7 @@ sub check_desktop_clean {
|
||||
sub download_modularity_tests {
|
||||
# Download the modularity test script, place in the system and then
|
||||
# modify the access rights to make it executable.
|
||||
my $whitelist = @_;
|
||||
my ($whitelist) = @_;
|
||||
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') {
|
||||
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