summary refs log tree commit diff stats
path: root/qga/commands-posix.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2015-10-02 14:58:18 +0200
committerMichael Roth <mdroth@linux.vnet.ibm.com>2015-10-19 18:30:50 -0500
commit62c39b307b3a946f9df4f11396bfeced120c040f (patch)
tree45f1ef8b54a59f6a9f3cd1750fa6edb2c401f473 /qga/commands-posix.c
parentf693fe6ef402bdcf89b3979bf004c4c5bf646724 (diff)
downloadfocaccia-qemu-62c39b307b3a946f9df4f11396bfeced120c040f.tar.gz
focaccia-qemu-62c39b307b3a946f9df4f11396bfeced120c040f.zip
tests: add a local test for guest agent
Add some local guest agent tests, as it is better than nothing, only
when CONFIG_POSIX (using unix sockets).

With the QGA_TEST_SIDE_EFFECTING environment variable, it will include
tests with side effects, such as freezing/thawing the FS or changing the
time.

(a better test would involve a managed VM (or container), but it might
be better to leave that off to autotest/avocado)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
* use mkdtemp() in placeof g_mkdtemp() for glib 2.22 compat
* drop redundant/conflicting compat defines for
  g_assert_{true,false}, since glib-compat has them now.
* build fixes for OSX: use PRId64 instead of glib formats, drop
  g_spawn_default usage for glib compat
* assert connect_qga() doesn't fail
* only enable test-qga for linux hosts
* allow get-memory-block-info* to fail
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qga/commands-posix.c')
0 files changed, 0 insertions, 0 deletions