From: Simon McVittie Date: Wed, 31 Oct 2018 15:22:30 +0000 (+0000) Subject: tests: Assert that dbus#222 has been fixed X-Git-Tag: dbus-1.13.8~38^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d70040d8d2543eb0dc455f2c1db8660ead93ad97;p=thirdparty%2Fdbus.git tests: Assert that dbus#222 has been fixed --- diff --git a/test/internals/sysdeps.c b/test/internals/sysdeps.c index 06c302c43..f2e75e06d 100644 --- a/test/internals/sysdeps.c +++ b/test/internals/sysdeps.c @@ -84,19 +84,10 @@ test_command_for_pid (Fixture *f, if (_dbus_command_for_pid (pid, &string, strlen (argv[0]) + 1024, NULL)) { gchar *expected; - int len; g_test_message ("Process %lu: \"%s\"", pid, _dbus_string_get_const_data (&string)); - len = _dbus_string_get_length (&string); - /* TODO: _dbus_command_for_pid() currently appends an unwanted - * space. See dbus#222 */ - _dbus_string_chop_white (&string); - - if (_dbus_string_get_length (&string) < len) - test_incomplete ("Ignoring unwanted whitespace"); - expected = g_strdup_printf ("%s %s", argv[0], argv[1]); g_assert_cmpstr (_dbus_string_get_const_data (&string), ==,