From 4b51f340c82ca08ace52cadc0dcb14367ff281c2 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Mon, 16 Jan 2023 09:17:20 +0100 Subject: [PATCH] tests: Prevent tests from accessing user home User files such as call records and VoIP account configs should be left alone during tests. --- tests/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/meson.build b/tests/meson.build index dffc446..ea28522 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -10,6 +10,8 @@ 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()), ] test_cflags = [