From 6455319ef5c34ec287c10738055d5382fd5cb1b5 Mon Sep 17 00:00:00 2001 From: Michel Normand Date: Fri, 20 Sep 2019 07:15:21 +0200 Subject: [PATCH] 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 --- lib/utils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils.pm b/lib/utils.pm index 9d598641..004e33c6 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -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');