[gnome-software/wip/jrocha/fix-runtime-extensions-update] fixup! tests: Cover installing an app that has a mandatory extension



commit 8893711ad4969ab399336b207f27a4b0f0b78e68
Author: Joaquim Rocha <jrocha endlessm com>
Date:   Thu Jan 25 10:11:37 2018 +0100

    fixup! tests: Cover installing an app that has a mandatory extension

 plugins/flatpak/gs-self-test.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/plugins/flatpak/gs-self-test.c b/plugins/flatpak/gs-self-test.c
index a470b445..cf0b41ad 100644
--- a/plugins/flatpak/gs-self-test.c
+++ b/plugins/flatpak/gs-self-test.c
@@ -1280,6 +1280,7 @@ gs_plugins_flatpak_app_update_func (GsPluginLoader *plugin_loader)
        }
 
        /* add indirection so we can switch this after install */
+       unlink ("/var/tmp/self-test/repo");
        g_assert (symlink (repodir1_fn, "/var/tmp/self-test/repo") == 0);
 
        /* add a remote */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]