]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/test-filter-mirror.c
libqtest: Remove qtest_qmp_discard_response() & friends
[mirror_qemu.git] / tests / test-filter-mirror.c
index 6c6f710dc64331999dc07c1ded704ce28231d656..de5ba155db3432055de37c8dd94a3269cec5f97a 100644 (file)
 
 #include "qemu/osdep.h"
 #include "libqtest.h"
+#include "qapi/qmp/qdict.h"
 #include "qemu/iov.h"
 #include "qemu/sockets.h"
 #include "qemu/error-report.h"
 #include "qemu/main-loop.h"
 
+/* TODO actually test the results and get rid of this */
+#define qmp_discard_response(...) qobject_unref(qmp(__VA_ARGS__))
+
 static void test_mirror(void)
 {
     int send_sock[2], recv_sock;