Home
last modified time | relevance | path

Searched refs:temp_dbus_keyrings_dir (Results 1 – 1 of 1) sorted by relevance

/third_party/glib/gio/tests/
Dgdbus-auth.c239 static gchar *temp_dbus_keyrings_dir = NULL; variable
246 g_assert (temp_dbus_keyrings_dir == NULL); in temp_dbus_keyrings_setup()
247 temp_dbus_keyrings_dir = g_dir_make_tmp ("gdbus-test-dbus-keyrings-XXXXXX", &error); in temp_dbus_keyrings_setup()
249 g_assert (temp_dbus_keyrings_dir != NULL); in temp_dbus_keyrings_setup()
250 g_setenv ("G_DBUS_COOKIE_SHA1_KEYRING_DIR", temp_dbus_keyrings_dir, TRUE); in temp_dbus_keyrings_setup()
261 g_assert (temp_dbus_keyrings_dir != NULL); in temp_dbus_keyrings_teardown()
263 dir = g_dir_open (temp_dbus_keyrings_dir, 0, &error); in temp_dbus_keyrings_teardown()
268 gchar *path = g_build_filename (temp_dbus_keyrings_dir, name, NULL); in temp_dbus_keyrings_teardown()
273 g_assert (rmdir (temp_dbus_keyrings_dir) == 0); in temp_dbus_keyrings_teardown()
275 g_free (temp_dbus_keyrings_dir); in temp_dbus_keyrings_teardown()
[all …]