From ced946dba97c21b8ff35cf029fc0e7f77825326d Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 16 Mar 2022 12:29:02 -0700 Subject: [PATCH] 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 --- tests/applications/gnome-text-editor/aaa_setup.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/applications/gnome-text-editor/aaa_setup.pm b/tests/applications/gnome-text-editor/aaa_setup.pm index c410e632..f1c78d50 100644 --- a/tests/applications/gnome-text-editor/aaa_setup.pm +++ b/tests/applications/gnome-text-editor/aaa_setup.pm @@ -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();