Here is v2 if the autotests patch.

-Sedat-
diff --git a/autotests/t-xdg-open.sh b/autotests/t-xdg-open.sh
index b15ae5ee1533..1dbdd6b85ab9 100755
--- a/autotests/t-xdg-open.sh
+++ b/autotests/t-xdg-open.sh
@@ -85,14 +85,18 @@ test_open_url kde4 kde-open
 test_that_it opens a URL with kde-open5 in KDE 5
 test_open_url kde5 kde-open5
 
-test_that_it opens a URL with gvfs-open in MATE
-test_open_url mate gvfs-open
-
-test_that_it opens a URL with mate-open if "gio open" and gvfs-open are \
-             missing in MATE
-mock_missing gio
-mock_missing gvfs-open
-test_open_url mate mate-open
+test_that_it opens a URL with kde-open in KDE 6
+test_open_url kde6 kde-open
+
+# Comment MATE block. -dileks
+##test_that_it opens a URL with gvfs-open in MATE
+##test_open_url mate gvfs-open
+##
+##test_that_it opens a URL with mate-open if "gio open" and gvfs-open are \
+##             missing in MATE
+##mock_missing gio
+##mock_missing gvfs-open
+##test_open_url mate mate-open
 
 test_that_it opens a URL with exo-open in XFCE
 test_open_url xfce exo-open
diff --git a/autotests/test-lib.sh b/autotests/test-lib.sh
index e48027e0d310..1a0bca868927 100644
--- a/autotests/test-lib.sh
+++ b/autotests/test-lib.sh
@@ -76,6 +76,10 @@ set_de_() {
             XDG_CURRENT_DESKTOP=KDE
             KDE_SESSION_VERSION=5
             ;;
+        kde6)
+            XDG_CURRENT_DESKTOP=KDE
+            KDE_SESSION_VERSION=6
+            ;;
         lxde)
             XDG_CURRENT_DESKTOP=LXDE
             ;;

Reply via email to