mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-04-30 23:48:05 +02:00
tests: Assert that dbus#222 has been fixed
This commit is contained in:
parent
f7bf69443d
commit
d70040d8d2
1 changed files with 0 additions and 9 deletions
|
|
@ -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), ==,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue