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:
Adam Williamson 2022-03-16 12:29:02 -07:00
parent 94520bb7a8
commit ced946dba9
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,8 @@ sub run {
# Get the test data from the test data repository.
check_and_install_git();
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
desktop_vt();