test-qga: add trivial tests for some commands
commit509b97fd079c9666ae7318bae6e1273fd5d6b574
authorTomáš Golembiovský <tgolembi@redhat.com>
Fri, 20 Apr 2018 18:04:34 +0000 (20 20:04 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 3 Jul 2018 20:20:26 +0000 (3 15:20 -0500)
tree13283f73aa7b179b934628616b32e3401a83cab3
parentc07e5e6ef3b5a2737387f86912ac30d1e9d48909
test-qga: add trivial tests for some commands

These commands did not get their tests in the original commits:
- guest-get-host-name
- guest-get-timezone
- guest-get-users

Trivial tests that mostly only call the commands were added.

Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
* replace QDECREF() with qobject_unref()
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tests/test-qga.c