[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 2/2] Add API for calling systemd-machined's DBus API



On Thu, Jul 18, 2013 at 05:11:45PM -0600, Eric Blake wrote:
> Ah, this hunk probably belongs in 1/2.  In fact, it fixes compilation,
> so I was able to run 'make check', but the test from 1/2 fails:
> 
> TEST: virdbustest
>       Failed to round-trip byte '0' to '200'
> !..Failed to round-trip byte '0' to '200'
> !.                                    5   FAIL

This turned out to be caused by the use of the 'bool' type. This is
not the same size as dbus_bool_t which is defined to be same as an
int. So I changed the test to use a plain int


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]