mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-02-01 21:23:10 +00:00
gnome-text-editor: uninstall gedit on upgrade tests
On upgraded systems, gedit might still be present; remove it so we don't launch it by accident and try to test it instead. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
94520bb7a8
commit
ced946dba9
@ -14,6 +14,8 @@ sub run {
|
|||||||
# Get the test data from the test data repository.
|
# Get the test data from the test data repository.
|
||||||
check_and_install_git();
|
check_and_install_git();
|
||||||
download_testdata("gnome-text-editor", "Documents");
|
download_testdata("gnome-text-editor", "Documents");
|
||||||
|
# Remove gedit on upgraded systems so we don't launch it by accident
|
||||||
|
script_run("dnf -y remove gedit") if (get_var("IMAGETYPE") eq "upgrade");
|
||||||
# Return to Desktop
|
# Return to Desktop
|
||||||
desktop_vt();
|
desktop_vt();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user