]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: test negative number through dbus
authorEric Blake <eblake@redhat.com>
Fri, 9 Aug 2013 14:55:06 +0000 (08:55 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 9 Aug 2013 14:57:01 +0000 (08:57 -0600)
commit15168f98748800394b2a9985be967853e2360707
tree23f57fe4cf20bbb9749f7401ac289514f25552ea
parentd72ef888766782ef1066fc025f18a70bb454ec7a
tests: test negative number through dbus

Commit f1088c8 weakened a test, by not passing a value larger
than INT_MAX through an int slot.  Make the fix in a different
way, using an explicit negative value.  Suggested by Dan Berrange.

* tests/virdbustest.c (testMessageArray): Adjust previous fix.
(testMessageStruct): Use a negative number.

Signed-off-by: Eric Blake <eblake@redhat.com>
tests/virdbustest.c