Skip to content

Commit

Permalink
Use additional RPM repos in Initial Setup reboot tests
Browse files Browse the repository at this point in the history
Use the library functions that enable access to additional RPM
repos in the Initial Setup reboot tests.

These tests aim is to verify that latest Anaconda changes have not
broken Initial Setup. To do this they need an Anaconda scratchbuild with
the latest changes (usually still in PR form) to be injected to the
package installation transaction as otherwise the stable released
package from the main repo would be installed and no breakage could
be uncovered.
  • Loading branch information
M4rtinK committed Feb 3, 2021
1 parent 8e6ba22 commit dba698d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions reboot-initial-setup-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,13 @@ TESTTYPE="reboot initial-setup"
additional_runner_args() {
echo "--wait"
}

kernel_args() {
export_additional_repo $tmpdir
echo $(append_additional_repo_to_kernel_args $DEFAULT_BOOTOPTS)
}

cleanup() {
local tmp_dir="${1}"
stop_httpd "${tmp_dir}"
}
10 changes: 10 additions & 0 deletions reboot-initial-setup-tui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,13 @@ TESTTYPE="reboot initial-setup fedora-only"
additional_runner_args() {
echo "--wait"
}

kernel_args() {
export_additional_repo $tmpdir
echo $(append_additional_repo_to_kernel_args $DEFAULT_BOOTOPTS)
}

cleanup() {
local tmp_dir="${1}"
stop_httpd "${tmp_dir}"
}

0 comments on commit dba698d

Please sign in to comment.