mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-28 00:23:09 +00:00
changes in install source test
This commit is contained in:
parent
20504fa965
commit
b3e118fe79
@ -16,7 +16,13 @@ sub post_fail_hook {
|
||||
|
||||
# Upload all ABRT logs
|
||||
type_string "cd /var/tmp/abrt && tar czvf abrt.tar.gz *";
|
||||
send_key "ret";
|
||||
upload_logs "/var/tmp/abrt/abrt.tar.gz";
|
||||
|
||||
# Upload Anaconda logs
|
||||
type_string "cd / && tar czvf /tmp/anaconda_tb.tar.gz /tmp/anaconda-tb-*";
|
||||
send_key "ret";
|
||||
upload_logs "/tmp/anaconda_tb.tar.gz";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -26,12 +26,7 @@ sub run {
|
||||
my $fedora_version = "";
|
||||
my $repourl = "";
|
||||
|
||||
if (get_var("VERSION") eq "rawhide"){
|
||||
$fedora_version = "rawhide";
|
||||
}
|
||||
else {
|
||||
$fedora_version = (split /_/, get_var("BUILD"))[0];
|
||||
}
|
||||
$fedora_version = lc((split /_/, get_var("BUILD"))[0]);
|
||||
|
||||
$repourl = "http://download.fedoraproject.org/pub/fedora/linux/development/".$fedora_version."/".get_var("ARCH")."/os";
|
||||
type_string " inst.repo=".$repourl;
|
||||
|
@ -6,7 +6,7 @@ sub run {
|
||||
# Anaconda hub
|
||||
assert_screen "anaconda_main_hub", 300; #
|
||||
|
||||
# Go into the Install Sourcre spoke
|
||||
# Go into the Install Source spoke
|
||||
assert_and_click "anaconda_main_hub_installation_source";
|
||||
|
||||
|
||||
@ -22,14 +22,9 @@ sub run {
|
||||
|
||||
# insert the url
|
||||
send_key "tab";
|
||||
my $fedora_version = "";
|
||||
my $fedora_version = lc((split /_/, get_var("BUILD"))[0]);
|
||||
my $repourl = "";
|
||||
if (get_var("VERSION") eq "rawhide"){
|
||||
$fedora_version = "rawhide";
|
||||
}
|
||||
else {
|
||||
$fedora_version = (split /_/, get_var("BUILD"))[0];
|
||||
|
||||
if ($fedora_version ne "rawhide"){
|
||||
if (get_var("MIRRORLIST_GRAPHICAL")){
|
||||
$fedora_version = "fedora-".$fedora_version;
|
||||
}
|
||||
|
@ -9,16 +9,9 @@ sub run {
|
||||
assert_screen "anaconda_main_hub";
|
||||
|
||||
# FIXME: this code is scattered in at least three places (here, _boot_to_anaconda, _install_source_graphical. Deduplicate
|
||||
my $fedora_version = "";
|
||||
my $fedora_version = lc((split /_/, get_var("BUILD"))[0]);
|
||||
my $repourl = "";
|
||||
|
||||
if (get_var("VERSION") eq "rawhide"){
|
||||
$fedora_version = "rawhide";
|
||||
}
|
||||
else {
|
||||
$fedora_version = (split /_/, get_var("BUILD"))[0];
|
||||
}
|
||||
|
||||
$repourl = "download.fedoraproject.org/pub/fedora/linux/development/".$fedora_version."/".get_var("ARCH")."/os";
|
||||
|
||||
# check that the repo was used
|
||||
|
Loading…
Reference in New Issue
Block a user