mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-06 02:30:16 +01:00
* dbus/dbus-address.c (_dbus_address_test): Revert leaking strcmp.
In any case it was wrong since this is a test checking to see if address parsing is correct. There was no need to get the true tmp directory.
This commit is contained in:
parent
42319b9d10
commit
048c76d779
2 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2006-08-10 John (J5) Palmieri <johnp@redhat.com>
|
||||
|
||||
* dbus/dbus-address.c (_dbus_address_test): Revert leaking strcmp.
|
||||
In any case it was wrong since this is a test checking to see if
|
||||
address parsing is correct. There was no need to get the true
|
||||
tmp directory.
|
||||
|
||||
2006-08-10 John (J5) Palmieri <johnp@redhat.com>
|
||||
|
||||
* dbus/dbus-macros.h: Revert the addition of stddef.h
|
||||
|
|
|
|||
|
|
@ -715,7 +715,7 @@ _dbus_address_test (void)
|
|||
&entries, &len, &error))
|
||||
_dbus_assert_not_reached ("could not parse address");
|
||||
_dbus_assert (len == 2);
|
||||
_dbus_assert (strcmp (dbus_address_entry_get_value (entries[0], "path"), strcat(_dbus_get_tmpdir(),"/foo") == 0));
|
||||
_dbus_assert (strcmp (dbus_address_entry_get_value (entries[0], "path"), "/tmp/foo") == 0));
|
||||
_dbus_assert (strcmp (dbus_address_entry_get_value (entries[1], "name"), "test") == 0);
|
||||
_dbus_assert (strcmp (dbus_address_entry_get_value (entries[1], "sliff"), "sloff") == 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue