Commit 2b60ee64 authored by Simon McVittie's avatar Simon McVittie
Browse files

test/containers: Don't require type, name in GetConnectionCredentials

On the session bus, the container type and name might be
uncontroversial, but on the system bus, it's questionable how far
they can be trusted: they're supplied by the initiator of the
per-container server, so we only have their word for it.
Signed-off-by: Simon McVittie's avatarSimon McVittie <>
Reviewed-by: Philip Withnall's avatarPhilip Withnall <>
parent 86ef806c
......@@ -509,14 +509,6 @@ test_metadata (Fixture *f,
"&o", &path_from_query));
g_assert_cmpstr (path_from_query, ==, f->instance_path);
g_assert_true (g_variant_dict_lookup (&dict,
"&s", &type));
g_assert_cmpstr (type, ==, "org.example.Springwatch");
g_assert_true (g_variant_dict_lookup (&dict,
"&s", &name));
g_assert_cmpstr (name, ==, "");
g_variant_dict_clear (&dict);
g_clear_pointer (&asv, g_variant_unref);
g_clear_pointer (&tuple, g_variant_unref);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment