From: Marc-André Lureau <marcandre.lur...@redhat.com> v2->v3: - add patch to introduce g_assert_* from recent glib versions - check QGA_TEST_SIDE_EFFECTING environment variable instead of VM run - use base64 decoder/encoder functions instead of hardcoded strings - fix some copy/paste comment
v1->v2: - do not loop forever when connection to qga (Michael Roth) - add some config file tests - fix config verbosity - swallow virt-what stderr - only compile and check on Linux Marc-André Lureau (5): qga: add QGA_CONF environment variable qga: do not override configuration verbosity qtest: add a few fd-level qmp helpers glib-compat: add 2.38/2.40/2.46 asserts tests: add a local test for guest agent include/glib-compat.h | 61 ++++ qga/main.c | 7 +- tests/Makefile | 3 + tests/libqtest.c | 45 ++- tests/libqtest.h | 7 + tests/test-qga.c | 779 ++++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 895 insertions(+), 7 deletions(-) create mode 100644 tests/test-qga.c -- 2.4.3