]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
test/dbus-daemon: Assert absence of Containers1 credentials
authorSimon McVittie <smcv@collabora.com>
Fri, 9 Jun 2017 14:59:44 +0000 (15:59 +0100)
committerSimon McVittie <smcv@collabora.com>
Tue, 12 Dec 2017 16:22:34 +0000 (16:22 +0000)
These connections are not to a container server.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101354

test/dbus-daemon.c

index 8cada03ed2f0593f91a6d2c4409e502f93183edb..9305866b8ee4ebbff42987be424d31578072daee 100644 (file)
@@ -507,6 +507,10 @@ test_creds (Fixture *f,
           g_assert_not_reached ();
 #endif
         }
+      else if (g_str_has_prefix (name, DBUS_INTERFACE_CONTAINERS1 "."))
+        {
+          g_assert_not_reached ();
+        }
 
       dbus_message_iter_next (&arr_iter);
     }