[gnome-software] trivial: Fix a typo in flatpak self tests
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Fix a typo in flatpak self tests
- Date: Sun, 30 Jul 2017 13:22:39 +0000 (UTC)
commit eaae8ecd73e619f50c35f2973d889432576a712d
Author: Kalev Lember <klember redhat com>
Date: Sun Jul 30 14:21:52 2017 +0100
trivial: Fix a typo in flatpak self tests
plugins/flatpak/gs-plugin-flatpak.c | 2 +-
plugins/flatpak/gs-self-test.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/flatpak/gs-plugin-flatpak.c b/plugins/flatpak/gs-plugin-flatpak.c
index 3178b88..ecfb318 100644
--- a/plugins/flatpak/gs-plugin-flatpak.c
+++ b/plugins/flatpak/gs-plugin-flatpak.c
@@ -80,7 +80,7 @@ gs_plugin_initialize (GsPlugin *plugin)
gs_plugin_set_app_gtype (plugin, GS_TYPE_FLATPAK_APP);
/* used for self tests */
- priv->destdir_for_tests = g_getenv ("GS_SELF_TEST_FLATPACK_DATADIR");
+ priv->destdir_for_tests = g_getenv ("GS_SELF_TEST_FLATPAK_DATADIR");
}
static gboolean
diff --git a/plugins/flatpak/gs-self-test.c b/plugins/flatpak/gs-self-test.c
index 748b75b..2c038e4 100644
--- a/plugins/flatpak/gs-self-test.c
+++ b/plugins/flatpak/gs-self-test.c
@@ -134,7 +134,7 @@ gs_plugins_flatpak_repo_func (GsPluginLoader *plugin_loader)
g_assert_cmpint (gs_app_get_state (app), ==, AS_APP_STATE_INSTALLED);
/* check config file was updated */
- root = g_getenv ("GS_SELF_TEST_FLATPACK_DATADIR");
+ root = g_getenv ("GS_SELF_TEST_FLATPAK_DATADIR");
config_fn = g_build_filename (root, "flatpak", "repo", "config", NULL);
kf = g_key_file_new ();
ret = g_key_file_load_from_file (kf, config_fn, 0, &error);
@@ -216,7 +216,7 @@ gs_plugins_flatpak_app_with_runtime_func (GsPluginLoader *plugin_loader)
}
/* check changed file exists */
- root = g_getenv ("GS_SELF_TEST_FLATPACK_DATADIR");
+ root = g_getenv ("GS_SELF_TEST_FLATPAK_DATADIR");
changed_fn = g_build_filename (root, "flatpak", ".changed", NULL);
g_assert (g_file_test (changed_fn, G_FILE_TEST_IS_REGULAR));
@@ -1445,7 +1445,7 @@ main (int argc, char **argv)
g_test_init (&argc, &argv, NULL);
g_setenv ("G_MESSAGES_DEBUG", "all", TRUE);
- g_setenv ("GS_SELF_TEST_FLATPACK_DATADIR", tmp_root, TRUE);
+ g_setenv ("GS_SELF_TEST_FLATPAK_DATADIR", tmp_root, TRUE);
/* ensure test root does not exist */
if (g_file_test (tmp_root, G_FILE_TEST_EXISTS)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]