From d6619d68c99b65e6c5dc523997cc7f5ae6a6a2b5 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Sun, 12 Feb 2023 09:40:45 +0100 Subject: [PATCH] tests: Don't override XDG_CONFIG_HOME It was introduced in 4b51f340c82ca08ace52cadc0dcb14367ff281c2 to prevent accessing user home during tests: The only place where this the home is currently accessed is when loading SIP accounts and these can already be overriden with CALLS_SIP_ACCOUNT_FILE. It seems that XDG_CONFIG_HOME is propagated to the flatpak runner, even though it was only overriden for the test suite. ======================================================================== Building module calls in /builds/devrtz/calls/.flatpak-builder/build/calls-1 ======================================================================== Error: module calls: Error opening directory '/builds/devrtz/calls/_build/calls': Permission denied Reported at https://gitlab.gnome.org/Infrastructure/GitLab/-/issues/596#note_1654082 --- tests/meson.build | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/meson.build b/tests/meson.build index 0a09e5c..715d671 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -10,7 +10,6 @@ test_env = [ 'CALLS_PLUGIN_DIR=@0@/plugins'.format(meson.project_build_root()), 'FOLKS_BACKENDS_ALLOWED=key-file', 'FOLKS_PRIMARY_STORE=key-file', - 'XDG_CONFIG_HOME=@0@'.format(meson.project_build_root()), 'CALLS_RECORD_DIR=@0@/tests/record-db'.format(meson.project_build_root()), ]