From 6b2cc430e0d8250e4f3e097998ed218b9bf12672 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 27 Sep 2024 17:12:52 +0100 Subject: [PATCH] tests: Run dbus-appinfo tests with G_TEST_OPTION_ISOLATE_DIRS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Eliminate any possibility of them accidentally using the user’s actual home directory. Signed-off-by: Philip Withnall --- gio/tests/dbus-appinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/tests/dbus-appinfo.c b/gio/tests/dbus-appinfo.c index 99b4e24b7..80861fdd1 100644 --- a/gio/tests/dbus-appinfo.c +++ b/gio/tests/dbus-appinfo.c @@ -467,7 +467,7 @@ test_flatpak_missing_doc_export (void) int main (int argc, char **argv) { - g_test_init (&argc, &argv, NULL); + g_test_init (&argc, &argv, G_TEST_OPTION_ISOLATE_DIRS, NULL); g_test_add_func ("/appinfo/dbusappinfo", test_dbus_appinfo); g_test_add_func ("/appinfo/flatpak-doc-export", test_flatpak_doc_export);