typo in lib/utils.pm

reported in autoinst-log.txt
===
"my" variable $files masks earlier declaration in same scope at /var/lib/openqa/share/tests/fedora/lib/utils.pm line 352.
"my" variable $beta masks earlier declaration in same scope at /var/lib/openqa/share/tests/fedora/lib/utils.pm line 995.
===

Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
This commit is contained in:
Michel Normand 2019-09-20 07:15:21 +02:00
parent 61f8adefdf
commit 6455319ef5

View File

@ -349,7 +349,7 @@ sub repos_mirrorlist {
# have not been updated, and the infra repo is rejected as its
# metadata checksum isn't known to MM
my $files = shift;
my $files ||= "/etc/yum.repos.d/fedora*.repo";
$files ||= "/etc/yum.repos.d/fedora*.repo";
assert_script_run "sed -i -e 's,metalink,mirrorlist,g' ${files}";
}
@ -980,7 +980,7 @@ sub check_prerelease {
my $beta = get_var('ISO');
# install_pxeboot tests have ISO blanked, so we must use ISO_URL
my $beta ||= get_var('ISO_URL');
$beta ||= get_var('ISO_URL');
my $nightly = get_var('BUILD');
my $version = get_var('VERSION');
my $development = get_var('DEVELOPMENT');