diff options
author | Simon McVittie <smcv@collabora.com> | 2018-10-31 15:22:30 +0000 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2018-10-31 16:56:36 +0000 |
commit | d70040d8d2543eb0dc455f2c1db8660ead93ad97 (patch) | |
tree | fec028935fc4490f82a2f6f0ea18717646a4654c /test/internals/sysdeps.c | |
parent | f7bf69443df17ca4b58256030c337b0369c7ab80 (diff) | |
download | dbus-d70040d8d2543eb0dc455f2c1db8660ead93ad97.tar.gz |
tests: Assert that dbus#222 has been fixed
Diffstat (limited to 'test/internals/sysdeps.c')
-rw-r--r-- | test/internals/sysdeps.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/test/internals/sysdeps.c b/test/internals/sysdeps.c index 06c302c4..f2e75e06 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), ==, |